File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 2323 steps :
2424 - name : Check out the repo
2525 uses : actions/checkout@v4
26-
26+ - name : downcase REPO
27+ run : |
28+ echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
2729 - name : Determine tag suffix
2830 id : tag_suffix
2931 run : |
4749 uses : docker/metadata-action@v5
4850 with :
4951 images : |
50- ${{ env.REGISTRY }}/${{ github.repository }} /${{ matrix.name }}
52+ ${{ env.REGISTRY }}/$REPO /${{ matrix.name }}
5153 tags : |
5254 type=raw,value=${{ env.TAG_SUFFIX }}
5355
@@ -60,18 +62,18 @@ jobs:
6062 context : .
6163 file : Dockerfile-${{ matrix.name }} # Builds the correct Dockerfile
6264 push : true
63- tags : ${{ env.REGISTRY }}/${{ github.repository }} /${{ matrix.name }}:${{ env.TAG_SUFFIX }} # Explicitly set tag
65+ tags : ${{ env.REGISTRY }}/$REPO /${{ matrix.name }}:${{ env.TAG_SUFFIX }} # Explicitly set tag
6466 labels : ${{ steps.meta.outputs.labels }}
6567 cache-from : type=gha
6668 cache-to : type=gha,mode=max
6769
6870 # - name: Debug build output
6971 # run: |
70- # docker images ${{ env.REGISTRY }}/${{ github.repository }} /${{ matrix.name }}
72+ # docker images ${{ env.REGISTRY }}/$REPO /${{ matrix.name }}
7173
7274 # - name: Debug attestation input
7375 # run: |
74- # echo "Subject name: ${{ env.REGISTRY }}/${{ github.repository }} /${{ matrix.name }}:${{ env.TAG_SUFFIX }}"
76+ # echo "Subject name: ${{ env.REGISTRY }}/$REPO /${{ matrix.name }}:${{ env.TAG_SUFFIX }}"
7577 # echo "Subject digest: ${{ steps.push.outputs.digest }}"
7678
7779 # - name: Generate artifact attestation
You can’t perform that action at this time.
0 commit comments