From f5fa57d4e34310b5bc0b89d02134a559ac41eaa8 Mon Sep 17 00:00:00 2001 From: nswain Date: Fri, 25 Jun 2021 15:16:32 -0600 Subject: [PATCH] Specify build context as . --- .github/workflows/push_on_commits_wo_tag.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/push_on_commits_wo_tag.yml b/.github/workflows/push_on_commits_wo_tag.yml index fef7c00..636b84f 100644 --- a/.github/workflows/push_on_commits_wo_tag.yml +++ b/.github/workflows/push_on_commits_wo_tag.yml @@ -59,7 +59,7 @@ jobs: # Dockerfile filename build_file: Dockerfile # Path to build context - path: ${{github.workspace}} + path: . - name: build and push tag for docker collector uses: aevea/action-kaniko@v0.6.1 with: @@ -78,7 +78,9 @@ jobs: # Docker registry meant to be used as cache cache_registry: ${{ env.KANIKO_CACHE_REGISTRY }} # Dockerfile filename - build_file: ${{github.workspace}}/Dockerfile.collector + build_file: Dockerfile.collector + # Path to build context + path: ${{github.workspace}} extra_args: "--build-arg BASE_IMAGE=aquaveollc/condor-base:latest" - name: build and push tag for docker scheduler uses: aevea/action-kaniko@v0.6.1 @@ -98,7 +100,9 @@ jobs: # Docker registry meant to be used as cache cache_registry: ${{ env.KANIKO_CACHE_REGISTRY }} # Dockerfile filename - build_file: ${{github.workspace}}/Dockerfile.scheduler + build_file: Dockerfile.scheduler + # Path to build context + path: ${{github.workspace}} extra_args: "--build-arg BASE_IMAGE=aquaveollc/condor-base:latest" - name: build and push tag for docker worker uses: aevea/action-kaniko@v0.6.1 @@ -118,7 +122,9 @@ jobs: # Docker registry meant to be used as cache cache_registry: ${{ env.KANIKO_CACHE_REGISTRY }} # Dockerfile filename - build_file: ${{github.workspace}}/Dockerfile.worker + build_file: Dockerfile.worker + # Path to build context + path: ${{github.workspace}} extra_args: "--build-arg BASE_IMAGE=aquaveollc/condor-base:latest" - name: build and push tag for docker standalone uses: aevea/action-kaniko@v0.6.1 @@ -138,5 +144,7 @@ jobs: # Docker registry meant to be used as cache cache_registry: ${{ env.KANIKO_CACHE_REGISTRY }} # Dockerfile filename - build_file: ${{github.workspace}}/Dockerfile.standalone + build_file: Dockerfile.standalone + # Path to build context + path: ${{github.workspace}} extra_args: "--build-arg BASE_IMAGE=aquaveollc/condor-base:latest"