Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
chore: fix correct arch computation on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Holzer committed Aug 22, 2022
1 parent 0ba6909 commit 9b9f93b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ commands:
name: Set git tag image tagging env
command: |
echo 'export VERSION_TAG=${CIRCLE_TAG}' >> "$BASH_ENV"
echo 'export BRANCH_IMAGE_TAG=${CIRCLE_TAG}<<# parameters.squash >>-squash<</ parameters.squash >>' >> "$BASH_ENV"
echo 'export BRANCH_IMAGE_TAG=${CIRCLE_TAG}-<< parameters.arch-tag >><<# parameters.squash >>-squash<</ parameters.squash >>' >> "$BASH_ENV"
echo 'export BRANCH_IMAGE_URL=<< parameters.image-name >>:${BRANCH_IMAGE_TAG}' >> "$BASH_ENV"
echo 'export IMAGE_TAG_LIST=${BRANCH_IMAGE_TAG}' >> "$BASH_ENV"
save-images:
parameters:
tmp-dir:
Expand Down Expand Up @@ -323,8 +324,8 @@ workflows:
context: [build-image-registry]
container-image: "netlify/build"
push-images: true
tests: false
squash-images: true
tests: false
matrix:
parameters:
executor: [amd64, arm64]
Expand Down

0 comments on commit 9b9f93b

Please sign in to comment.