'Generic Commit'
This commit is contained in:
parent
57728ff87b
commit
1eba05347a
@ -44,16 +44,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Create manifest list
|
||||
run: |
|
||||
docker manifest create gitea.jde.nz/public/dropshell-build-base:${GITHUB_SHA} \
|
||||
gitea.jde.nz/public/dropshell-build-base:${GITHUB_SHA}-x86_64 \
|
||||
gitea.jde.nz/public/dropshell-build-base:${GITHUB_SHA}-aarch64
|
||||
docker manifest push gitea.jde.nz/public/dropshell-build-base:${GITHUB_SHA}
|
||||
|
||||
run: |
|
||||
# Also tag as latest if on main branch
|
||||
if [ "$GITHUB_REF" = "refs/heads/main" ]; then
|
||||
docker manifest create gitea.jde.nz/public/dropshell-build-base:latest \
|
||||
gitea.jde.nz/public/dropshell-build-base:${GITHUB_SHA}-x86_64 \
|
||||
gitea.jde.nz/public/dropshell-build-base:${GITHUB_SHA}-aarch64
|
||||
gitea.jde.nz/public/dropshell-build-base:latest-x86_64 \
|
||||
gitea.jde.nz/public/dropshell-build-base:latest-aarch64
|
||||
docker manifest push gitea.jde.nz/public/dropshell-build-base:latest
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user