Skip to content

Commit

Permalink
fix(docker): correct manifest creation syntax for proper multi-arch s…
Browse files Browse the repository at this point in the history
…upport
  • Loading branch information
yarlson committed Jan 25, 2025
1 parent 69404c4 commit 9c41ce9
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions create-manifests.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
#!/bin/bash
VERSION="0.3.7"
VERSION="0.3.9"

# Create and push version manifest
docker manifest create yarlson/zero:${VERSION} \
--amend yarlson/zero:${VERSION}-amd64 \
yarlson/zero:${VERSION}-amd64 \
yarlson/zero:${VERSION}-arm64v8
--amend yarlson/zero:${VERSION}-amd64 \
--amend yarlson/zero:${VERSION}-arm64v8

docker manifest push yarlson/zero:${VERSION}

# Create and push latest manifest
docker manifest create yarlson/zero:latest \
--amend yarlson/zero:latest-amd64 \
yarlson/zero:latest-amd64 \
yarlson/zero:latest-arm64v8
--amend yarlson/zero:latest-amd64 \
--amend yarlson/zero:latest-arm64v8

docker manifest push yarlson/zero:latest

0 comments on commit 9c41ce9

Please sign in to comment.