File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3333
3434 steps :
3535 - uses : actions/checkout@v4
36-
3736 - uses : docker/setup-qemu-action@v3 # multi-arch emulation
3837 - uses : docker/setup-buildx-action@v3 # Buildx driver with cache support
3938
@@ -54,14 +53,15 @@ jobs:
5453 password : ${{ secrets.GITHUB_TOKEN }}
5554
5655 - name : Build (and push on main branch)
57- uses : docker/build-push-action@v5
56+ uses : docker/build-push-action@v3
5857 with :
5958 context : .
6059 file : docker/Dockerfile # adjust if your Dockerfile moves
6160 platforms : linux/amd64,linux/arm64
6261 push : ${{ github.event_name == 'push' }} # PRs build but don’t publish
6362 tags : |
64- ghcr.io/deeptrackai/deep-learning-crash-course:latest
65- ghcr.io/deeptrackai/deep-learning-crash-course:${{ github.sha }}
63+ tags: |
64+ ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
65+ ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
6666 cache-from : type=local,src=/tmp/.buildx-cache
6767 cache-to : type=local,dest=/tmp/.buildx-cache,mode=max
You can’t perform that action at this time.
0 commit comments