Skip to content

Commit 2fc6ea0

Browse files
committed
fix: workflow docker push context
1 parent 8ae42af commit 2fc6ea0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/cd.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,15 @@ jobs:
5454
with:
5555
push: ${{ github.event_name != 'pull_request' }}
5656
context: .
57+
file: docker/Dockerfile
5758
platforms: linux/amd64,linux/arm64
5859
tags: ${{ steps.meta.outputs.tags }}
5960
labels: ${{ steps.meta.outputs.labels }}
6061

6162
deploy:
6263
name: Deploy
6364
runs-on: ubuntu-20.04
65+
needs: docker-push
6466
steps:
6567
- name: Trigger deployment
66-
run: curl ${{ secrets.DEPLOYMENT_URL }} -X POST -H "Authorization: ${{ secrets.DEPLOYMENT_SECRET }}"
68+
run: 'curl ${{ secrets.DEPLOYMENT_URL }} -X POST -H "Authorization: ${{ secrets.DEPLOYMENT_SECRET }}"'

0 commit comments

Comments
 (0)