Skip to content

fix(k8s): fix env keys for migrate job (#952) #799

fix(k8s): fix env keys for migrate job (#952)

fix(k8s): fix env keys for migrate job (#952) #799

Workflow file for this run

name: Deploy to GKE
on:
push:
branches: [main]
paths:
- .github/workflows/deploy.yml
- k8s/**
- '!k8s/overlays/development/**'
jobs:
build-publish-deploy:
name: Build, Publish, and Deploy
runs-on: ubuntu-22.04
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Authenticate to GCP
uses: google-github-actions/auth@v2
with:
workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }}
- name: Set up GKE
uses: google-github-actions/get-gke-credentials@v2
with:
cluster_name: ${{ secrets.GKE_CLUSTER_NAME }}
location: ${{ secrets.GOOGLE_REGION }}
- name: Build, and Publish
uses: docker://gcr.io/k8s-skaffold/skaffold:v2.10.1
with:
args: build --file-output tags.json --profile production
entrypoint: skaffold
- name: Deploy
uses: docker://gcr.io/k8s-skaffold/skaffold:v2.10.1
with:
args: deploy --build-artifacts tags.json --profile production
entrypoint: skaffold