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 33
33
34
34
steps :
35
35
- uses : actions/checkout@v4
36
-
37
36
- uses : docker/setup-qemu-action@v3 # multi-arch emulation
38
37
- uses : docker/setup-buildx-action@v3 # Buildx driver with cache support
39
38
@@ -54,14 +53,15 @@ jobs:
54
53
password : ${{ secrets.GITHUB_TOKEN }}
55
54
56
55
- name : Build (and push on main branch)
57
- uses : docker/build-push-action@v5
56
+ uses : docker/build-push-action@v3
58
57
with :
59
58
context : .
60
59
file : docker/Dockerfile # adjust if your Dockerfile moves
61
60
platforms : linux/amd64,linux/arm64
62
61
push : ${{ github.event_name == 'push' }} # PRs build but don’t publish
63
62
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 }}
66
66
cache-from : type=local,src=/tmp/.buildx-cache
67
67
cache-to : type=local,dest=/tmp/.buildx-cache,mode=max
You can’t perform that action at this time.
0 commit comments