images/ubuntu: Do not test container if not necessary #271
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build all images | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
# schedule: | |
# # Run at 00:00 UTC daily. | |
# - cron: '0 0 * * *' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
# debug: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@v4 | |
# # - name: Install git | |
# # run: | | |
# # sudo apt-get install -y git | |
# - name: Print Key length | |
# env: | |
# KEY: "${{ secrets.GH_KEY }}" | |
# run: | | |
# echo "Length: ${#KEY}" | |
# - name: Checkout LXD imagebuilder manually | |
# if: always() | |
# run: | | |
# eval "$(ssh-agent -s)" | |
# echo "${{ secrets.GH_KEY }}" > test.pk | |
# sudo chmod 600 test.pk | |
# ssh-add test.pk | |
# git clone [email protected]:musicdin/lxd-imagebuilder.git | |
# ls -lah lxd-imagebuilder | |
# - name: Checkout LXD imagebuilder | |
# uses: actions/checkout@v4 | |
# if: always() | |
# with: | |
# repository: musicdin/lxd-imagebuilder | |
# path: lxd-imagebuilder2 | |
# ssh-key: "${{ secrets.GH_KEY }}" | |
# - name: Debug | |
# run: ls -lah lxd-imagebuilder2 | |
# almalinux: | |
# uses: ./.github/workflows/image-almalinux.yml | |
# secrets: inherit | |
# alpine: | |
# uses: ./.github/workflows/image-alpine.yml | |
# secrets: inherit | |
# alt: | |
# uses: ./.github/workflows/image-alt.yml | |
# secrets: inherit | |
# amazonlinux: | |
# uses: ./.github/workflows/image-amazonlinux.yml | |
# secrets: inherit | |
# archlinux: | |
# uses: ./.github/workflows/image-archlinux.yml | |
# secrets: inherit | |
# busybox: | |
# uses: ./.github/workflows/image-busybox.yml | |
# secrets: inherit | |
# centos: | |
# uses: ./.github/workflows/image-centos.yml | |
# secrets: inherit | |
# debian: | |
# uses: ./.github/workflows/image-debian.yml | |
# secrets: inherit | |
# devuan: | |
# uses: ./.github/workflows/image-devuan.yml | |
# secrets: inherit | |
# fedora: | |
# uses: ./.github/workflows/image-fedora.yml | |
# secrets: inherit | |
# funtoo: | |
# uses: ./.github/workflows/image-funtoo.yml | |
# secrets: inherit | |
# gentoo: | |
# uses: ./.github/workflows/image-gentoo.yml | |
# secrets: inherit | |
# kali: | |
# uses: ./.github/workflows/image-kali.yml | |
# secrets: inherit | |
# mint: | |
# uses: ./.github/workflows/image-mint.yml | |
# secrets: inherit | |
# nixos: | |
# uses: ./.github/workflows/image-nixos.yml | |
# secrets: inherit | |
# openeuler: | |
# uses: ./.github/workflows/image-openeuler.yml | |
# secrets: inherit | |
# opensuse: | |
# uses: ./.github/workflows/image-opensuse.yml | |
# secrets: inherit | |
# openwrt: | |
# uses: ./.github/workflows/image-openwrt.yml | |
# secrets: inherit | |
# oracle: | |
# uses: ./.github/workflows/image-oracle.yml | |
# secrets: inherit | |
# RockyLinux: | |
# uses: ./.github/workflows/image-rockylinux.yml | |
# secrets: inherit | |
# springdalelinux: | |
# uses: ./.github/workflows/image-springdalelinux.yml | |
# secrets: inherit | |
ubuntu: | |
uses: ./.github/workflows/image-ubuntu.yml | |
secrets: inherit | |
# voidlinux: | |
# uses: ./.github/workflows/image-voidlinux.yml | |
# secrets: inherit | |
# slackware: | |
# uses: ./.github/workflows/image-slackware.yml | |
# secrets: inherit |