Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
ci: include portal deployment in the release flow (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeplotean authored Oct 23, 2023
1 parent 737004d commit bbb3313
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ jobs:
with:
push: true
file: backend.Dockerfile
tags: waltid/wallet-backend:latest, waltid/wallet-backend:${{ env.release_version }}
tags: waltid/wallet-backend:latest, waltid/wallet-backend:${{ env.release_version }}, waltid/wallet-backend:portal-latest

- name: Build and push Docker images (frontend)
uses: docker/build-push-action@v4.0.0
with:
push: true
file: frontend.Dockerfile
tags: waltid/wallet-frontend:latest, waltid/wallet-frontend:${{ env.release_version }}
tags: waltid/wallet-frontend:latest, waltid/wallet-frontend:${{ env.release_version }}, waltid/wallet-frontend:portal-latest

- name: Changelog
uses: ardalanamini/auto-changelog@v3
Expand Down Expand Up @@ -96,9 +96,17 @@ jobs:
body: |
${{ steps.changelog.outputs.changelog }}
prerelease: ${{ steps.changelog.outputs.prerelease }}
- name: Prepare CD
- name: Prepare CD - wallet.walt.id
run: sed "s/_DEFAULT_DEPLOYMENT_/$GITHUB_SHA/g" k8s/deployment-dev.yaml > k8s/deployment_mod.yaml
- name: Continuous deployment
- name: Continuous deployment - wallet.walt.id
uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
with:
args: apply -n dev -f k8s/deployment_mod.yaml
- name: Prepare CD - wallet.portal.walt.id
run: sed "s/_DEFAULT_DEPLOYMENT_/$GITHUB_SHA/g" k8s/deployment-portal.yaml > k8s/deployment_mod.yaml
- name: Continuous deployment - wallet.portal.walt.id
uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
Expand Down

0 comments on commit bbb3313

Please sign in to comment.