We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac90776 commit 4299f46Copy full SHA for 4299f46
.github/workflows/ci.yaml
@@ -86,7 +86,19 @@ jobs:
86
driver: cloud
87
endpoint: docker/collab-bu
88
89
- - name: Build and push
+ - name: Build and push (local)
90
+ if: ${{ inputs.builder_type == 'local' }}
91
+ uses: docker/build-push-action@v5
92
+ with:
93
+ context: .
94
+ platforms: ${{ steps.determine_platforms.outputs.platforms }}
95
+ push: true
96
+ tags: ${{ vars.DOCKER_HUB_ACCOUNT }}/dbc-demo:latest
97
+ cache-from: type=gha
98
+ cache-to: type=gha,mode=max
99
+
100
+ - name: Build and push (cloud)
101
+ if: ${{ inputs.builder_type != 'local' }}
102
uses: docker/build-push-action@v5
103
with:
104
context: .
0 commit comments