Skip to content

Commit

Permalink
Change directory to Dockerfile location first.
Browse files Browse the repository at this point in the history
Since these builds use local paths only, instead of full-repo context,
this is the correct way to set context for these builds.
  • Loading branch information
emmiegit committed Oct 24, 2023
1 parent 3cbf41c commit ec5ac7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-minio.local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v2

- name: Build image
run: docker build -f install/local/dev/minio/Dockerfile .
run: cd install/local/dev/minio && docker build
env:
DOCKER_BUILDKIT: 1

2 changes: 1 addition & 1 deletion .github/workflows/docker-build-redis.local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v2

- name: Build image
run: docker build -f install/local/dev/redis/Dockerfile .
run: cd install/local/dev/redis && docker build
env:
DOCKER_BUILDKIT: 1

0 comments on commit ec5ac7f

Please sign in to comment.