Skip to content

Commit 8432cbc

Browse files
committed
cpu only
1 parent d59dfb9 commit 8432cbc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
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

0 commit comments

Comments
 (0)