Skip to content

Commit

Permalink
Modify workflow triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
marcauberer committed Oct 22, 2021
1 parent 55f8563 commit e5d2a70
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 27 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
24 changes: 3 additions & 21 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,31 +99,13 @@ 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 }} \
chillibits/compose-generator-toolbox:amd64-${{ steps.get_version.outputs.version }} \
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 }}
chillibits/compose-generator-toolbox:arm64-${{ steps.get_version.outputs.version }}
docker manifest push chillibits/compose-generator-toolbox:${{ steps.get_version.outputs.version }}

0 comments on commit e5d2a70

Please sign in to comment.