Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release workflow docker build context should use local path and not git context #1388

Merged
merged 1 commit into from
Aug 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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