Skip to content

Commit

Permalink
fix: Publish latest operator build to quay workflow is failing (#498) (
Browse files Browse the repository at this point in the history
…#503)

Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
  • Loading branch information
iam-veeramalla authored Dec 6, 2021
1 parent 3055002 commit 45b0837
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
runs-on: ubuntu-latest

env:
IMG: ${{ secrets.REGISTRY_URL }}/argocd-operator:latest
REGISTRY_URL: quay.io
ORG: argoprojlabs
REPO: argocd-operator

steps:

Expand All @@ -30,13 +32,17 @@ jobs:

- name: Build operator and Tag Latest
run: make docker-build
env:
IMG: ${{ env.REGISTRY_URL }}/${{ env.ORG }}/${{ env.REPO }}:latest

- name: Login to Registry
uses: docker/login-action@v1
with:
registry: ${{ secrets.REGISTRY_URL }}
registry: ${{ env.REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}

- name: Push latest operator
run: make docker-push
env:
IMG: ${{ env.REGISTRY_URL }}/${{ env.ORG }}/${{ env.REPO }}:latest

0 comments on commit 45b0837

Please sign in to comment.