Skip to content

Commit

Permalink
chore: release workflow docker build context should use local path an…
Browse files Browse the repository at this point in the history
…d not git context (argoproj#1388)

Signed-off-by: Jesse Suen <[email protected]>
  • Loading branch information
jessesuen authored Aug 3, 2021
1 parent 2600c6a commit 9e23f78
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
ghcr.io/argoproj/argo-rollouts
tags: |
type=semver,pattern={{version}},prefix=v,value=${{ github.event.inputs.tag }}
flavor: |
latest=false
- name: Docker meta (plugin)
id: plugin-meta
Expand All @@ -57,6 +59,8 @@ jobs:
ghcr.io/argoproj/kubectl-argo-rollouts
tags: |
type=semver,pattern={{version}},prefix=v,value=${{ github.event.inputs.tag }}
flavor: |
latest=false
- name: Login to GitHub Container Registry
if: github.event_name != 'pull_request'
Expand All @@ -77,6 +81,7 @@ jobs:
- name: Build and push (controller-image)
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.controller-meta.outputs.tags }}
Expand All @@ -86,6 +91,7 @@ jobs:
- name: Build and push (plugin-image)
uses: docker/build-push-action@v2
with:
context: .
target: kubectl-argo-rollouts
platforms: linux/amd64,linux/arm64
push: true
Expand Down

0 comments on commit 9e23f78

Please sign in to comment.