Skip to content

Commit

Permalink
🔖 fix docker image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
salamaashoush committed Sep 8, 2024
1 parent 7b2466c commit 2792801
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/perfect-fireants-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"turbo-remote-cache-rs": patch
---

Fix docker image tag
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: |
# set latest tag for default branch
type=raw,value=latest,enable={{is_default_branch}}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand All @@ -224,6 +227,7 @@ jobs:
uses: docker/build-push-action@v6
with:
platforms: ${{ matrix.platform }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true

Expand Down Expand Up @@ -261,6 +265,9 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: |
# set latest tag for default branch
type=raw,value=latest,enable={{is_default_branch}}
- name: Login to Docker Hub
uses: docker/login-action@v3
Expand Down

0 comments on commit 2792801

Please sign in to comment.