We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 084ec47 commit 01f3a96Copy full SHA for 01f3a96
.github/workflows/docker-publish.yml
@@ -49,7 +49,7 @@ jobs:
49
- name: Log in to GHCR
50
uses: docker/login-action@v3
51
with:
52
- registry: ghcr.io
+ registry: ${{ env.REGISTRY }}
53
username: ${{ github.actor }}
54
password: ${{ secrets.GITHUB_TOKEN }}
55
@@ -61,7 +61,7 @@ jobs:
61
platforms: linux/amd64,linux/arm64
62
push: ${{ github.event_name == 'push' }} # PRs build but don’t publish
63
tags: |
64
- ghcr.io/deeptrackai/deep-learning-crash-course:latest
65
- ghcr.io/deeptrackai/deep-learning-crash-course:${{ github.sha }}
+ ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
+ ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
66
cache-from: type=local,src=/tmp/.buildx-cache
67
cache-to: type=local,dest=/tmp/.buildx-cache,mode=max
0 commit comments