From e5d2a708cc8846ea195c8186e3e16077e4e0d32c Mon Sep 17 00:00:00 2001 From: Marc Auberer Date: Fri, 22 Oct 2021 21:53:35 +0200 Subject: [PATCH] Modify workflow triggers --- .github/workflows/publish-dev.yml | 12 ++++++------ .github/workflows/publish.yml | 24 +++--------------------- 2 files changed, 9 insertions(+), 27 deletions(-) diff --git a/.github/workflows/publish-dev.yml b/.github/workflows/publish-dev.yml index 377f183..a8bc115 100644 --- a/.github/workflows/publish-dev.yml +++ b/.github/workflows/publish-dev.yml @@ -4,12 +4,12 @@ name: Publish Dev on: push: branches: [ main, dev ] -# paths: -# - './amd64/Dockerfile' -# - './i386/Dockerfile' -# - './armv6/Dockerfile' -# - './armv7/Dockerfile' -# - './arm64/Dockerfile' + paths: + - './amd64/Dockerfile' + - './i386/Dockerfile' + - './armv6/Dockerfile' + - './armv7/Dockerfile' + - './arm64/Dockerfile' jobs: build: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 40bc035..c54836d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -99,7 +99,7 @@ jobs: chillibits/compose-generator-toolbox:i386-${{ steps.get_version.outputs.version }} \ chillibits/compose-generator-toolbox:armv6-${{ steps.get_version.outputs.version }} \ chillibits/compose-generator-toolbox:armv7-${{ steps.get_version.outputs.version }} \ - chillibits/compose-generator-toolbox:arm64-${{ steps.get_version.outputs.version }} \ + chillibits/compose-generator-toolbox:arm64-${{ steps.get_version.outputs.version }} docker manifest push chillibits/compose-generator-toolbox:latest docker manifest create chillibits/compose-generator-toolbox:${{ steps.get_version.outputs.version }} \ @@ -107,23 +107,5 @@ jobs: chillibits/compose-generator-toolbox:i386-${{ steps.get_version.outputs.version }} \ chillibits/compose-generator-toolbox:armv6-${{ steps.get_version.outputs.version }} \ chillibits/compose-generator-toolbox:armv7-${{ steps.get_version.outputs.version }} \ - chillibits/compose-generator-toolbox:arm64-${{ steps.get_version.outputs.version }} \ - docker manifest push chillibits/compose-generator-toolbox:${{ steps.get_version.outputs.version }} - - - name: Build manifest DHCR - run: | - docker manifest create ghcr.io/chillibits/compose-generator-toolbox:latest \ - ghcr.io/chillibits/compose-generator-toolbox:amd64-${{ steps.get_version.outputs.version }} \ - ghcr.io/chillibits/compose-generator-toolbox:i386-${{ steps.get_version.outputs.version }} \ - ghcr.io/chillibits/compose-generator-toolbox:armv6-${{ steps.get_version.outputs.version }} \ - ghcr.io/chillibits/compose-generator-toolbox:armv7-${{ steps.get_version.outputs.version }} \ - ghcr.io/chillibits/compose-generator-toolbox:arm64-${{ steps.get_version.outputs.version }} \ - docker manifest push ghcr.io/chillibits/compose-generator-toolbox:latest - - docker manifest create ghcr.io/chillibits/compose-generator-toolbox:${{ steps.get_version.outputs.version }} \ - ghcr.io/chillibits/compose-generator-toolbox:amd64-${{ steps.get_version.outputs.version }} \ - ghcr.io/chillibits/compose-generator-toolbox:i386-${{ steps.get_version.outputs.version }} \ - ghcr.io/chillibits/compose-generator-toolbox:armv6-${{ steps.get_version.outputs.version }} \ - ghcr.io/chillibits/compose-generator-toolbox:armv7-${{ steps.get_version.outputs.version }} \ - ghcr.io/chillibits/compose-generator-toolbox:arm64-${{ steps.get_version.outputs.version }} \ - docker manifest push ghcr.io/chillibits/compose-generator-toolbox:${{ steps.get_version.outputs.version }} \ No newline at end of file + chillibits/compose-generator-toolbox:arm64-${{ steps.get_version.outputs.version }} + docker manifest push chillibits/compose-generator-toolbox:${{ steps.get_version.outputs.version }} \ No newline at end of file