File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 39
39
run : echo "GH_REF_NAME=$(echo ${{ github.ref_name }} | sed 's|/|-|g')" >> $GITHUB_OUTPUT
40
40
41
41
- name : Build & Push ${{ github.event.repository.name }}:${{ matrix.platform}}-${{ steps.branch_name.outputs.GH_REF_NAME }}
42
- if : ${{ github.ref != github.repository.default_branch }}
42
+ if : ${{ github.ref_name != github.repository.default_branch }}
43
43
uses : docker/build-push-action@v5
44
44
with :
45
45
push : true
52
52
label=dockerfile-path=https://github.com/${{ github.repository }}/blob/${{ github.sha }}/Dockerfile
53
53
54
54
- name : Build & Push ${{ github.event.repository.name }}:${{ matrix.platform}}-gpu
55
- if : ${{ github.ref == github.repository.default_branch && hashFiles('gpu.Dockerflie') != '' }}
55
+ if : ${{ hashFiles('gpu.Dockerflie') != '' }}
56
56
uses : docker/build-push-action@v5
57
57
with :
58
58
push : true
You can’t perform that action at this time.
0 commit comments