Skip to content

Commit

Permalink
additional manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
zosorock committed Sep 19, 2022
1 parent 433c4d9 commit babfe82
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ jobs:
echo $AMD_TAG
docker pull $DOCKER_REPO:$AMD_TAG
- run:
name: "Create and push Docker multi arch manifest"
name: "Create and push Docker multi-arch manifests"
command: |
ARM_TAG=$(cat my_workspace/docker_tag_arm)
AMD_TAG=$(cat my_workspace/docker_tag_amd)
Expand All @@ -248,6 +248,10 @@ jobs:
docker manifest inspect $DOCKER_REPO:${CIRCLE_BRANCH}-latest
docker manifest push $DOCKER_REPO:${CIRCLE_BRANCH}-latest
echo "Pushed $DOCKER_REPO:${CIRCLE_BRANCH}-latest"
docker manifest create $DOCKER_REPO:latest --amend $DOCKER_REPO:${ARM_TAG} --amend $DOCKER_REPO:${AMD_TAG}
docker manifest inspect $DOCKER_REPO:latest
docker manifest push $DOCKER_REPO:latest
echo "Pushed $DOCKER_REPO:latest"
workflows:
main-workflow:
Expand Down

0 comments on commit babfe82

Please sign in to comment.