Skip to content

Commit

Permalink
push windows images as tags without the -windowsXXYY suffix (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt authored Jun 12, 2024
1 parent a7f4af1 commit 91eda59
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-test-and-push-windows-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ jobs:
cuda=${cuda}
repo=${repo,,}
version=${version}
tag=${version}-cuda${cuda}-cl${cl}-${{ inputs.os }}${{ matrix.edition }}
tag_without_os=${version}-cuda${cuda}-cl${cl}
tag=${tag_without_os}-${{ inputs.os }}${{ matrix.edition }}
EOF
- name: Login to Docker Hub
Expand Down Expand Up @@ -88,4 +89,6 @@ jobs:
name: Push ${{ steps.info.outputs.tag }}
shell: powershell
run: |
docker image tag ${{ steps.info.outputs.repo }}:${{ steps.info.outputs.tag }} ${{ steps.info.outputs.repo }}:${{ steps.info.outputs.tag_without_os }}
docker push ${{ steps.info.outputs.repo }}:${{ steps.info.outputs.tag_without_os }}
docker push ${{ steps.info.outputs.repo }}:${{ steps.info.outputs.tag }}

0 comments on commit 91eda59

Please sign in to comment.