From 5f346d920d3138a380609d7be2c33f060331da3f Mon Sep 17 00:00:00 2001 From: Jesse Suen Date: Mon, 2 Aug 2021 19:17:49 -0700 Subject: [PATCH] chore: release workflow docker build context should use local path and not git context Signed-off-by: Jesse Suen --- .github/workflows/release.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f146ba475c..0583bf14eb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 @@ -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' @@ -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 }} @@ -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