diff --git a/.github/workflows/image-almalinux.yml b/.github/workflows/image-almalinux.yml index 2bbcc42b5..2e9dcae8e 100644 --- a/.github/workflows/image-almalinux.yml +++ b/.github/workflows/image-almalinux.yml @@ -1,18 +1,15 @@ name: Build AlmaLinux Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: almalinux: @@ -91,7 +88,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-alpine.yml b/.github/workflows/image-alpine.yml index de2103669..25ba1e81f 100644 --- a/.github/workflows/image-alpine.yml +++ b/.github/workflows/image-alpine.yml @@ -1,18 +1,15 @@ name: Build Alpine Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: alpine: @@ -93,7 +90,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-alt.yml b/.github/workflows/image-alt.yml index 467f758e4..7b8ee0e04 100644 --- a/.github/workflows/image-alt.yml +++ b/.github/workflows/image-alt.yml @@ -1,18 +1,15 @@ name: Build ALT Linux Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: alt: @@ -80,7 +77,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-amazonlinux.yml b/.github/workflows/image-amazonlinux.yml index 98d850ab7..d3fedb8df 100644 --- a/.github/workflows/image-amazonlinux.yml +++ b/.github/workflows/image-amazonlinux.yml @@ -1,18 +1,15 @@ name: Build AmazonLinux Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: amazonlinux: @@ -106,7 +103,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-archlinux.yml b/.github/workflows/image-archlinux.yml index 73e3a53df..eca0b9827 100644 --- a/.github/workflows/image-archlinux.yml +++ b/.github/workflows/image-archlinux.yml @@ -1,18 +1,15 @@ name: Build ArchLinux Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: archlinux: @@ -100,7 +97,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-busybox.yml b/.github/workflows/image-busybox.yml index 259ce8d2b..4dec797da 100644 --- a/.github/workflows/image-busybox.yml +++ b/.github/workflows/image-busybox.yml @@ -1,18 +1,15 @@ name: Build BusyBox Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: busybox: @@ -76,7 +73,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-centos.yml b/.github/workflows/image-centos.yml index 237019c84..90bcfbcc7 100644 --- a/.github/workflows/image-centos.yml +++ b/.github/workflows/image-centos.yml @@ -1,18 +1,15 @@ name: Build CentOS Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: centos: @@ -110,7 +107,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-debian.yml b/.github/workflows/image-debian.yml index fff10c16c..fa1a0cdea 100644 --- a/.github/workflows/image-debian.yml +++ b/.github/workflows/image-debian.yml @@ -1,18 +1,15 @@ name: Build Debian Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: debian: @@ -90,7 +87,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-devuan.yml b/.github/workflows/image-devuan.yml index 27f648efa..eccfdbfce 100644 --- a/.github/workflows/image-devuan.yml +++ b/.github/workflows/image-devuan.yml @@ -1,18 +1,15 @@ name: Build Devuan Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: devuan: @@ -80,7 +77,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-fedora.yml b/.github/workflows/image-fedora.yml index bdc3c5901..e339d1c76 100644 --- a/.github/workflows/image-fedora.yml +++ b/.github/workflows/image-fedora.yml @@ -1,18 +1,15 @@ name: Build Fedora Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: fedora: @@ -90,7 +87,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-funtoo.yml b/.github/workflows/image-funtoo.yml index 1e737e0f3..f9c78ad0b 100644 --- a/.github/workflows/image-funtoo.yml +++ b/.github/workflows/image-funtoo.yml @@ -1,18 +1,15 @@ name: Build Funtoo Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: funtoo: @@ -81,7 +78,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-gentoo.yml b/.github/workflows/image-gentoo.yml index f78e95928..8ac9fca35 100644 --- a/.github/workflows/image-gentoo.yml +++ b/.github/workflows/image-gentoo.yml @@ -1,18 +1,15 @@ name: Build Gentoo Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: gentoo: @@ -85,7 +82,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-kali.yml b/.github/workflows/image-kali.yml index b71288dd4..0018034d6 100644 --- a/.github/workflows/image-kali.yml +++ b/.github/workflows/image-kali.yml @@ -1,18 +1,15 @@ name: Build Kali Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: kali: @@ -78,7 +75,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-nixos.yml b/.github/workflows/image-nixos.yml index d5bf70599..93335b7c1 100644 --- a/.github/workflows/image-nixos.yml +++ b/.github/workflows/image-nixos.yml @@ -1,18 +1,15 @@ name: Build NixOS Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: nixos: @@ -81,7 +78,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-openeuler.yml b/.github/workflows/image-openeuler.yml index 1109ed56e..70e3e2f67 100644 --- a/.github/workflows/image-openeuler.yml +++ b/.github/workflows/image-openeuler.yml @@ -1,18 +1,15 @@ name: Build openEuler Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: openeuler: @@ -91,7 +88,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-opensuse.yml b/.github/workflows/image-opensuse.yml index dd62bdb85..253f7f423 100644 --- a/.github/workflows/image-opensuse.yml +++ b/.github/workflows/image-opensuse.yml @@ -1,18 +1,15 @@ name: Build OpenSUSE Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: opensuse: @@ -98,7 +95,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-openwrt.yml b/.github/workflows/image-openwrt.yml index 783860e56..1d9e2a2fc 100644 --- a/.github/workflows/image-openwrt.yml +++ b/.github/workflows/image-openwrt.yml @@ -1,18 +1,15 @@ name: Build OpenWRT Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: openwrt: @@ -82,7 +79,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-oracle.yml b/.github/workflows/image-oracle.yml index dd9258814..ae749465f 100644 --- a/.github/workflows/image-oracle.yml +++ b/.github/workflows/image-oracle.yml @@ -1,18 +1,15 @@ name: Build Oracle Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: oracle: @@ -90,7 +87,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-rockylinux.yml b/.github/workflows/image-rockylinux.yml index 8955baf0b..e8ea76d20 100644 --- a/.github/workflows/image-rockylinux.yml +++ b/.github/workflows/image-rockylinux.yml @@ -1,18 +1,15 @@ name: Build RockyLinux Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: rockylinux: @@ -91,7 +88,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-ubuntu.yml b/.github/workflows/image-ubuntu.yml index aed34665e..09f103bd6 100644 --- a/.github/workflows/image-ubuntu.yml +++ b/.github/workflows/image-ubuntu.yml @@ -1,18 +1,15 @@ name: Build Ubuntu Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: ubuntu: @@ -106,7 +103,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/image-voidlinux.yml b/.github/workflows/image-voidlinux.yml index ff3346cc6..775ab76f1 100644 --- a/.github/workflows/image-voidlinux.yml +++ b/.github/workflows/image-voidlinux.yml @@ -1,18 +1,15 @@ name: Build VoidLinux Images on: + schedule: + # Run at 00:00 UTC daily. + - cron: '0 0 * * *' workflow_dispatch: inputs: publish: type: boolean default: false description: Publish built image - workflow_call: - inputs: - publish: - type: boolean - default: true - description: Publish built image jobs: voidlinux: @@ -88,7 +85,7 @@ jobs: - name: Upload image uses: ./.github/actions/image-upload - if: inputs.publish == true + if: github.event_name == 'schedule' || inputs.publish == true with: target: ${{ env.target }} image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}" diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml deleted file mode 100644 index 6e4e23d59..000000000 --- a/.github/workflows/images.yml +++ /dev/null @@ -1,76 +0,0 @@ -name: Build all images - -on: - workflow_dispatch: - # schedule: - # # Run at 00:00 UTC daily. - # - cron: '0 0 * * *' - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - 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 - 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 - # ubuntu: - # uses: ./.github/workflows/image-ubuntu.yml - # secrets: inherit - voidlinux: - uses: ./.github/workflows/image-voidlinux.yml - secrets: inherit