1
0
out-of-tree/.github/workflows/images.yml

70 lines
2.1 KiB
YAML
Raw Normal View History

2023-05-12 00:59:36 +00:00
name: Generate Images
on:
2023-05-12 01:32:46 +00:00
workflow_dispatch:
2023-05-12 01:04:17 +00:00
push:
paths:
- 'tools/**'
2023-05-12 00:59:36 +00:00
jobs:
debian-images:
name: Debian Images
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: debootstrap
2023-05-12 02:05:28 +00:00
run: |
cd ./tools/qemu-debian-img/
2023-05-12 02:06:25 +00:00
sudo ./generate-images.sh
2023-05-12 00:59:36 +00:00
2023-05-12 01:31:14 +00:00
- name: Upload Debian 7 image
uses: BetaHuhn/do-spaces-action@v2
2023-05-12 00:59:36 +00:00
with:
2023-05-12 01:31:14 +00:00
access_key: ${{ secrets.ACCESS_KEY }}
secret_key: ${{ secrets.SECRET_KEY }}
space_name: ${{ secrets.SPACE_NAME }}
space_region: ${{ secrets.SPACE_REGION }}
source: tools/qemu-debian-img/out_of_tree_debian_7.img
out_dir: 1.0.0
- name: Upload Debian 8 image
uses: BetaHuhn/do-spaces-action@v2
with:
access_key: ${{ secrets.ACCESS_KEY }}
secret_key: ${{ secrets.SECRET_KEY }}
space_name: ${{ secrets.SPACE_NAME }}
space_region: ${{ secrets.SPACE_REGION }}
source: tools/qemu-debian-img/out_of_tree_debian_7.img
out_dir: 1.0.0
- name: Upload Debian 9 image
uses: BetaHuhn/do-spaces-action@v2
with:
access_key: ${{ secrets.ACCESS_KEY }}
secret_key: ${{ secrets.SECRET_KEY }}
space_name: ${{ secrets.SPACE_NAME }}
space_region: ${{ secrets.SPACE_REGION }}
source: tools/qemu-debian-img/out_of_tree_debian_7.img
out_dir: 1.0.0
- name: Upload Debian 10 image
uses: BetaHuhn/do-spaces-action@v2
with:
access_key: ${{ secrets.ACCESS_KEY }}
secret_key: ${{ secrets.SECRET_KEY }}
space_name: ${{ secrets.SPACE_NAME }}
space_region: ${{ secrets.SPACE_REGION }}
source: tools/qemu-debian-img/out_of_tree_debian_7.img
out_dir: 1.0.0
- name: Upload Debian 11 image
uses: BetaHuhn/do-spaces-action@v2
with:
access_key: ${{ secrets.ACCESS_KEY }}
secret_key: ${{ secrets.SECRET_KEY }}
space_name: ${{ secrets.SPACE_NAME }}
space_region: ${{ secrets.SPACE_REGION }}
source: tools/qemu-debian-img/out_of_tree_debian_7.img
out_dir: 1.0.0