Skip to content

Commit

Permalink
Publish multi-arch image latest tag and re-enable docker layer caching (
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinc authored Dec 17, 2024
1 parent 1fe5372 commit 529410b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
steps:
- checkout
- setup_remote_docker:
docker_layer_caching: false
docker_layer_caching: true
- run:
name: Build artifacts w/ Skaffold
command: |
Expand All @@ -59,7 +59,7 @@ jobs:
steps:
- checkout
- setup_remote_docker:
docker_layer_caching: false
docker_layer_caching: true
- run:
name: Install buildx
command: |
Expand Down Expand Up @@ -88,8 +88,9 @@ jobs:
cat build/${CIRCLE_SHA1}.json
skaffold_tag=$(cat build/${CIRCLE_SHA1}.json | jq -r '.builds[0].tag | split("@")[0]')
skaffold_image=$(cat build/${CIRCLE_SHA1}.json | jq -r '.builds[0].imageName')
docker images
docker pull ${skaffold_tag}
docker tag ${skaffold_tag} ${skaffold_image}:latest
docker images
docker push ${skaffold_image}:latest
- persist_to_workspace:
root: ~/project
Expand Down

0 comments on commit 529410b

Please sign in to comment.