Skip to content

Commit

Permalink
Add Debian 12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
enescakir committed Oct 28, 2024
1 parent 408be73 commit 818dc6d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ubicloud-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
options:
- ubuntu-noble
- ubuntu-jammy
- debian-12
- almalinux-9
- almalinux-8

Expand Down Expand Up @@ -65,6 +66,11 @@ jobs:
[[ "${{ inputs.image_arch }}" = "x64" ]] && arch="amd64" || arch="arm64"
download_url="https://cloud-images.ubuntu.com/releases/jammy/release-${{ inputs.image_version }}/ubuntu-22.04-server-cloudimg-${arch}.img"
;;
"debian-12")
image_format="raw"
[[ "${{ inputs.image_arch }}" = "x64" ]] && arch="amd64" || arch="arm64"
download_url="https://cloud.debian.org/images/cloud/bookworm/${{ inputs.image_version }}/debian-12-genericcloud-${arch}-${{ inputs.image_version }}.raw"
;;
"almalinux-8")
image_format="qcow2"
[[ "${{ inputs.image_arch }}" = "arm64" ]] && exit 1
Expand Down

0 comments on commit 818dc6d

Please sign in to comment.