Skip to content
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
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,39 @@ jobs:
with:
version: ${{ needs.release.outputs.release-version }}
secrets: inherit

promote-staging:
needs:
- release
- docker
if: ${{ needs.release.outputs.new-release-published == 'true' }}
uses: glitchedmob/infra-gha/.github/workflows/kustomize-image-pr.yml@v0.8.0
with:
deployment-repository: sgfdevs/infra-k8s-apps
kustomization-path: src/k8s/apps/sgf.dev/staging
image: ghcr.io/sgfdevs/sgf.dev
image-tag: ${{ needs.release.outputs.release-version }}
source-ref: v${{ needs.release.outputs.release-version }}
promotion-id: staging
auto-merge: true
github-app-id: "4527359"
secrets:
github-app-private-key: ${{ secrets.INFRA_AUTOMATION_APP_PRIVATE_KEY }}

promote-production:
needs:
- release
- docker
- promote-staging
if: ${{ needs.release.outputs.new-release-published == 'true' }}
uses: glitchedmob/infra-gha/.github/workflows/kustomize-image-pr.yml@v0.8.0
with:
deployment-repository: sgfdevs/infra-k8s-apps
kustomization-path: src/k8s/apps/sgf.dev/production
image: ghcr.io/sgfdevs/sgf.dev
image-tag: ${{ needs.release.outputs.release-version }}
source-ref: v${{ needs.release.outputs.release-version }}
promotion-id: production
github-app-id: "4527359"
secrets:
github-app-private-key: ${{ secrets.INFRA_AUTOMATION_APP_PRIVATE_KEY }}