File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ jobs:
3030 id : tag_suffix
3131 run : |
3232 if [[ "${{ github.event_name }}" == "release" ]]; then
33- echo "TAG_SUFFIX=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
33+ echo "TAG_SUFFIX=${{ github.event.release.tag_name }}-${{ matrix.name }} " >> $GITHUB_ENV
3434 else
3535 SHORT_HASH=$(git rev-parse --short HEAD)
3636 LATEST_RELEASE=$(git describe --tags --abbrev=0 || echo "latest")
37- echo "TAG_SUFFIX=${LATEST_RELEASE}-${SHORT_HASH} " >> $GITHUB_ENV
37+ echo "TAG_SUFFIX=${LATEST_RELEASE}-${{ matrix.name }}" " >> $GITHUB_ENV
3838 fi
3939
4040 - name : Log in to the Container registry
4949 uses : docker/metadata-action@v5
5050 with :
5151 images : |
52- ${{ env.REGISTRY }}/${{ env.REPO }}/${{ matrix.name }}
52+ ${{ env.REGISTRY }}/${{ env.REPO }}
5353 tags : |
5454 type=raw,value=${{ env.TAG_SUFFIX }}
5555
6262 context : .
6363 file : Dockerfile-${{ matrix.name }} # Builds the correct Dockerfile
6464 push : true
65- tags : ${{ env.REGISTRY }}/${{ env.REPO }}/${{ matrix.name }} :${{ env.TAG_SUFFIX }} # Explicitly set tag
65+ tags : ${{ env.REGISTRY }}/${{ env.REPO }}:${{ env.TAG_SUFFIX }} # Explicitly set tag
6666 labels : ${{ steps.meta.outputs.labels }}
6767 cache-from : type=gha
6868 cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments