Skip to content

Commit

Permalink
chore: update repo semaphore task
Browse files Browse the repository at this point in the history
  • Loading branch information
ConfluentSemaphore committed Sep 30, 2024
1 parent 343eb98 commit 5f3821a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .semaphore/cp_dockerfile_promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ blocks:
export APPLIED="true"
fi
- >-
if [[ $UPDATE_LATEST_TAG ]]; then
if [[ $UPDATE_LATEST_TAG == "True" ]]; then
if [[ $APPLIED ]]; then
docker tag $DOCKER_REPO:$PROMOTED_TAG $DOCKER_REPO:latest$AMD_ARCH
docker push $DOCKER_REPO:latest$AMD_ARCH
Expand Down Expand Up @@ -104,7 +104,7 @@ blocks:
export APPLIED="true"
fi
- >-
if [[ $UPDATE_LATEST_TAG ]]; then
if [[ $UPDATE_LATEST_TAG == "True" ]]; then
if [[ $APPLIED ]]; then
docker tag $DOCKER_REPO:$PROMOTED_TAG $DOCKER_REPO:latest$ARM_ARCH
docker push $DOCKER_REPO:latest$ARM_ARCH
Expand All @@ -131,7 +131,7 @@ blocks:
export APPLIED="true"
fi
- >-
if [[ $UPDATE_LATEST_TAG ]]; then
if [[ $UPDATE_LATEST_TAG == "True" ]]; then
if [[ $APPLIED ]]; then
docker manifest create $DOCKER_REPO:latest $DOCKER_REPO:latest$AMD_ARCH $DOCKER_REPO:latest$ARM_ARCH
docker manifest push $DOCKER_REPO:latest
Expand Down

0 comments on commit 5f3821a

Please sign in to comment.