Skip to content

Commit 170a723

Browse files
committed
fix: update Kaniko workflow to specify correct Dockerfile path and context
1 parent c139371 commit 170a723

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-kaniko-docker.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
env: { DOCKER_CONFIG: /kaniko/.docker } # picked up from secret
3333
with:
3434
args: >
35-
--dockerfile=Dockerfile
35+
--dockerfile=repos/fetch-repos/Dockerfile
3636
--context=.
3737
--destination=ghcr.io/joshyorko/fetch-repos-bot-runner:${{ github.sha }}
3838
--cache=true
@@ -46,7 +46,7 @@ jobs:
4646
with:
4747
args: >
4848
--dockerfile=repos/fetch-repos/Dockerfile
49-
--context=./repos/fetch-repos
49+
--context=.
5050
--destination=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
5151
--cache=true
5252
--cache-repo=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-cache:latest

0 commit comments

Comments
 (0)