Skip to content

Commit

Permalink
Specify build context as .
Browse files Browse the repository at this point in the history
  • Loading branch information
swainn authored and Tsubashi committed Jun 28, 2021
1 parent 8390ecb commit f5fa57d
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/push_on_commits_wo_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
Expand All @@ -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/[email protected]
Expand All @@ -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/[email protected]
Expand All @@ -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/[email protected]
Expand All @@ -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"

0 comments on commit f5fa57d

Please sign in to comment.