Skip to content

Commit 280c56b

Browse files
committed
cpu and gpu
1 parent a80a193 commit 280c56b

File tree

1 file changed

+1
-56
lines changed

1 file changed

+1
-56
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -55,59 +55,4 @@ jobs:
5555
push: ${{ github.event_name == 'push' }}
5656
tags: |
5757
${{ env.REGISTRY }}/deeptrackai/${{ env.IMAGE_NAME }}${{ matrix.variant == 'gpu' && '-gpu' || '' }}:latest
58-
${{ env.REGISTRY }}/deeptrackai/${{ env.IMAGE_NAME }}${{ matrix.variant == 'gpu' && '-gpu' || '' }}:${{ github.sha }}
59-
60-
# name: Build & Publish Docker Image
61-
62-
# on:
63-
# pull_request:
64-
# branches: [ docker ]
65-
# paths:
66-
# - 'docker/Dockerfile'
67-
# - 'docker/requirements.txt'
68-
# - 'docker/docker-compose.yml'
69-
# - '.github/workflows/docker-publish.yml'
70-
71-
# push:
72-
# branches: [ docker ]
73-
# paths:
74-
# - 'docker/Dockerfile'
75-
# - 'docker/requirements.txt'
76-
# - 'docker/docker-compose.yml'
77-
# - '.github/workflows/docker-publish.yml'
78-
79-
80-
# # ─────────────── global env ──────────────────────────────────────────────────
81-
# env:
82-
# REGISTRY: ghcr.io
83-
# IMAGE_NAME: deeptrackai/deep-learning-crash-course # change once here
84-
85-
# jobs:
86-
# build-and-push:
87-
# runs-on: ubuntu-latest
88-
# permissions:
89-
# contents: read
90-
# packages: write # needed to push to GHCR
91-
92-
# steps:
93-
# - uses: actions/checkout@v4
94-
# - uses: docker/setup-qemu-action@v3 # multi-arch emulation
95-
# - uses: docker/setup-buildx-action@v3 # Buildx driver with cache support
96-
97-
# - name: Log in to GHCR
98-
# uses: docker/login-action@v3
99-
# with:
100-
# registry: ${{ env.REGISTRY }}
101-
# username: ${{ github.actor }}
102-
# password: ${{ secrets.GITHUB_TOKEN }}
103-
104-
# - name: Build (and push on main branch)
105-
# uses: docker/build-push-action@v3
106-
# with:
107-
# context: ./docker
108-
# file: ./docker/Dockerfile # adjust if your Dockerfile moves
109-
# platforms: linux/amd64,linux/arm64
110-
# push: ${{ github.event_name == 'push' }} # PRs build but don’t publish
111-
# tags: |
112-
# ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
113-
# ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
58+
${{ env.REGISTRY }}/deeptrackai/${{ env.IMAGE_NAME }}${{ matrix.variant == 'gpu' && '-gpu' || '' }}:${{ github.sha }}

0 commit comments

Comments
 (0)