Skip to content

Commit c2e351b

Browse files
committed
chore: release workflow docker build context should use local path and not git context (argoproj#1388)
Signed-off-by: Jesse Suen <[email protected]>
1 parent f899402 commit c2e351b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747
ghcr.io/argoproj/argo-rollouts
4848
tags: |
4949
type=semver,pattern={{version}},prefix=v,value=${{ github.event.inputs.tag }}
50+
flavor: |
51+
latest=false
5052
5153
- name: Docker meta (plugin)
5254
id: plugin-meta
@@ -57,6 +59,8 @@ jobs:
5759
ghcr.io/argoproj/kubectl-argo-rollouts
5860
tags: |
5961
type=semver,pattern={{version}},prefix=v,value=${{ github.event.inputs.tag }}
62+
flavor: |
63+
latest=false
6064
6165
- name: Login to GitHub Container Registry
6266
if: github.event_name != 'pull_request'
@@ -77,6 +81,7 @@ jobs:
7781
- name: Build and push (controller-image)
7882
uses: docker/build-push-action@v2
7983
with:
84+
context: .
8085
platforms: linux/amd64,linux/arm64
8186
push: true
8287
tags: ${{ steps.controller-meta.outputs.tags }}
@@ -86,6 +91,7 @@ jobs:
8691
- name: Build and push (plugin-image)
8792
uses: docker/build-push-action@v2
8893
with:
94+
context: .
8995
target: kubectl-argo-rollouts
9096
platforms: linux/amd64,linux/arm64
9197
push: true

0 commit comments

Comments
 (0)