mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-04 04:46:01 +02:00
ci: deploy master to integration environments (#1973)
This commit is contained in:
parent
2f00d2dd72
commit
c99ceaef1d
1 changed files with 29 additions and 0 deletions
29
.github/workflows/docker-master.yaml
vendored
29
.github/workflows/docker-master.yaml
vendored
|
@ -63,3 +63,32 @@ jobs:
|
||||||
org.opencontainers.image.created=${{ steps.metadata.outputs.timestamp }}
|
org.opencontainers.image.created=${{ steps.metadata.outputs.timestamp }}
|
||||||
org.opencontainers.image.name=${{ steps.metadata.outputs.name }}
|
org.opencontainers.image.name=${{ steps.metadata.outputs.name }}
|
||||||
org.opencontainers.image.revision=${{ github.sha }}
|
org.opencontainers.image.revision=${{ github.sha }}
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: publish
|
||||||
|
steps:
|
||||||
|
- name: Checkout Helmfile Repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
repository: pomerium/helmfile
|
||||||
|
token: ${{ secrets.APPARITOR_GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Bump psql environment
|
||||||
|
uses: mikefarah/yq@v4.6.1
|
||||||
|
with:
|
||||||
|
cmd: yq eval '.image.tag = "${{ needs.publish.outputs.sha-tag }}"' -i environments/internal-prd/pomerium-master-postgres/values/pomerium.yaml
|
||||||
|
|
||||||
|
- name: Bump mysql environment
|
||||||
|
uses: mikefarah/yq@v4.6.1
|
||||||
|
with:
|
||||||
|
cmd: yq eval '.image.tag = "${{ needs.publish.outputs.sha-tag }}"' -i environments/internal-prd/pomerium-master-mysql/values/pomerium.yaml
|
||||||
|
|
||||||
|
- name: Commit changes
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
|
with:
|
||||||
|
branch: master
|
||||||
|
commit_message: |
|
||||||
|
Bump test environment pomerium/pomerium
|
||||||
|
Image tag: ${{ needs.publish.outputs.sha-tag }}
|
||||||
|
Source Repo: ${{ github.repository }}@${{ github.sha }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue