File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,16 @@ jobs:
2828 run : |
2929 docker build -f .github/docker/${{ matrix.os }}.Dockerfile -t ${{ env.IMG }} .
3030
31+ # Login and push require login/pass to GHCR - omit these steps on forks
3132 - name : Login to GitHub Container Registry
32- if : github.event_name != 'pull_request'
33- uses : docker/login-action@6d4b68b490aef8836e8fb5e50ee7b3bdfa5894f0 # v3.2 .0
33+ if : ${{ github.event_name != 'pull_request' && github.repository == 'oneapi-src/unified-memory-framework' }}
34+ uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4 .0
3435 with :
3536 registry : ghcr.io
3637 username : bb-ur
3738 password : ${{ secrets.BB_GHCR_TOKEN }}
3839
3940 - name : Push ${{ matrix.os }} Docker image
40- if : github.event_name != 'pull_request'
41+ if : ${{ github.event_name != 'pull_request' && github.repository == 'oneapi-src/unified-memory-framework' }}
4142 run : |
4243 docker push ${{ env.IMG }}
You can’t perform that action at this time.
0 commit comments