File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1- name : Build Push to GHCR
1+ name : Build & Push to GHCR
22
33on :
44 push :
@@ -11,7 +11,7 @@ permissions:
1111 packages : write
1212
1313jobs :
14- build-test-push :
14+ build :
1515 runs-on : ubuntu-latest
1616
1717 steps :
@@ -45,19 +45,19 @@ jobs:
4545 images : |
4646 ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}
4747 tags : |
48- type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
49- type=sha
50- type=ref,event=tag
48+ type=raw,value=latest
5149
52- # Only push if tests passed
53- - name : Push Docker image
50+ # Build & push using Bake with your compose file
51+ - name : Build and push
5452 uses : docker/bake-action@v5
5553 with :
5654 files : |
5755 docker-compose.yaml
56+ # Push images instead of just building
5857 push : true
58+ # Apply extra settings across all targets
5959 set : |
6060 *.platform=linux/amd64
6161 *.cache-from=type=gha
6262 *.cache-to=type=gha,mode=max
63- deepvisionxplain.tags=test-image:latest
63+ deepvisionxplain.tags=${{ steps.meta.outputs.tags }}
You can’t perform that action at this time.
0 commit comments