Skip to content

Commit

Permalink
.github/workflows: Add debian image test
Browse files Browse the repository at this point in the history
Signed-off-by: Din Music <[email protected]>
  • Loading branch information
MusicDin committed Feb 14, 2024
1 parent c22e671 commit 4407685
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/image-debian.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Build Debian Image
on:
workflow_dispatch:
# schedule:
# # Run at 00:00 UTC every day.
# - cron: '0 0 * * *'

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
architecture:
- amd64
# - arm64
release:
# - buster
# - bullseye
# - sid
# - bookworm
- trixie
variant:
# - default
- cloud

steps:
- uses: actions/checkout@v4

- name: Build LXD Imagebuilder
run: |
pwd
ls
git clone https://github.com/canonical/lxd-imagebuilder
cd lxd-imagebuilder
make
# - name: Build Debian Image
# run: |
# LXD_ARCH="${{ matrix.architecture }}"

# TYPE="container"
# if [ "${LXD_ARCH}" = "amd64" ] || [ "${LXD_ARCH}" = "arm64" ]; then
# TYPE="container,vm"
# fi

# exec sudo /lxd-ci/bin/build-distro /lxc-ci/images/debian.yaml \
# ${INCUS_ARCHITECTURE} ${TYPE} 1800 ${WORKSPACE} \
# -o image.architecture=${architecture} \
# -o image.release=${release} -o image.variant=${variant} \
# -o source.url="http://ftp.us.debian.org/debian"

0 comments on commit 4407685

Please sign in to comment.