Skip to content
This repository has been archived by the owner on Nov 17, 2024. It is now read-only.

Commit

Permalink
fix: pass on version to next phase
Browse files Browse the repository at this point in the history
  • Loading branch information
segadora authored Nov 1, 2024
1 parent b4cd442 commit 13c6c35
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
id-token: write
packages: write
attestations: write
outputs:
tag: ${{ needs.release-please.outputs.tag }}
steps:
- name: Prepare
run: |
Expand Down Expand Up @@ -123,8 +125,8 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
value=latest
type=semver,pattern={{version}},value=${{ needs.release-please.outputs.tag }}
type=semver,pattern={{major}}.{{minor}},value=${{ needs.release-please.outputs.tag }}
type=semver,pattern={{version}},value=${{ needs.build.outputs.tag }}
type=semver,pattern={{major}}.{{minor}},value=${{ needs.build.outputs.tag }}
- name: Login to Docker Hub
uses: docker/login-action@v3
Expand All @@ -141,4 +143,4 @@ jobs:
- name: Inspect image
run: |
docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ needs.release-please.outputs.tag }}
docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ needs.build.outputs.tag }}

0 comments on commit 13c6c35

Please sign in to comment.