Skip to content

Commit

Permalink
docker-deploy: only push latest when arch is 64-bit
Browse files Browse the repository at this point in the history
On merge to master, the new default bookworm containers all went up, but
the 386 version got tagged latest rather than the amd64 version.  This
should fix that.
  • Loading branch information
trws committed Aug 9, 2023
1 parent c1e2190 commit 2426807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/docker-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ log "docker push ${DOCKER_TAG}"
docker push ${DOCKER_TAG}

# If this is the bookworm build, then also tag without image name:
if echo "$DOCKER_TAG" | grep -q "bookworm"; then
if echo "$DOCKER_TAG" | grep "bookworm" | grep -qv "386"; then
t="${DOCKER_REPO}:${GITHUB_TAG:-latest}"
log "docker push ${t}"
docker tag "$DOCKER_TAG" ${t} && docker push ${t}
Expand Down

0 comments on commit 2426807

Please sign in to comment.