ci: update main image deployment location (#3219)

This commit is contained in:
Travis Groth 2022-03-31 09:12:30 -04:00 committed by GitHub
parent b435f73e2b
commit 19dba942c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -74,23 +74,23 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: publish needs: publish
steps: steps:
- name: Checkout Helmfile Repo - name: Checkout Gitops Repo
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # pin@v3 uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # pin@v3
with: with:
repository: pomerium/helmfile repository: pomerium/gitops-argocd
token: ${{ secrets.APPARITOR_GITHUB_TOKEN }} token: ${{ secrets.APPARITOR_GITHUB_TOKEN }}
- name: Bump psql environment - name: Bump psql environment
uses: mikefarah/yq@bc2118736bca883de2e2c345bb7f7ef52c994920 # pin@v4.23.1 uses: mikefarah/yq@bc2118736bca883de2e2c345bb7f7ef52c994920 # pin@v4.23.1
with: with:
cmd: yq eval '.image.tag = "${{ needs.publish.outputs.sha-tag }}"' -i cmd: yq eval '.pomerium.image.tag = "${{ needs.publish.outputs.sha-tag }}"' -i
environments/internal-prd/pomerium-master-postgres/values/pomerium.yaml projects/pomerium-master-postgres/pomerium/values.yaml
- name: Bump mysql environment - name: Bump mysql environment
uses: mikefarah/yq@bc2118736bca883de2e2c345bb7f7ef52c994920 # pin@v4.23.1 uses: mikefarah/yq@bc2118736bca883de2e2c345bb7f7ef52c994920 # pin@v4.23.1
with: with:
cmd: yq eval '.image.tag = "${{ needs.publish.outputs.sha-tag }}"' -i cmd: yq eval '.pomerium.image.tag = "${{ needs.publish.outputs.sha-tag }}"' -i
environments/internal-prd/pomerium-master-mysql/values/pomerium.yaml projects/pomerium-master-mysql/pomerium/values.yaml
- name: Commit changes - name: Commit changes
uses: stefanzweifel/git-auto-commit-action@c4b132ec2c77a21fcab564bd3c92610cee84b894 # pin@v4 uses: stefanzweifel/git-auto-commit-action@c4b132ec2c77a21fcab564bd3c92610cee84b894 # pin@v4

View file

@ -109,7 +109,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: goreleaser needs: goreleaser
steps: steps:
- name: Checkout Helmfile Repo - name: Checkout Gitops Repo
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # pin@v3 uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # pin@v3
with: with:
repository: pomerium/gitops-argocd repository: pomerium/gitops-argocd