Skip to content

build(deps): update ghcr.io/mastodon/mastodon:nightly docker digest t… #722

build(deps): update ghcr.io/mastodon/mastodon:nightly docker digest t…

build(deps): update ghcr.io/mastodon/mastodon:nightly docker digest t… #722

Workflow file for this run

name: Deploy to GKE
on:
push:
branches: [main]
paths-ignore:
- 'k8s/overlays/development/**'
jobs:
build-publish-deploy:
name: Build, Publish, and Deploy
runs-on: ubuntu-latest
permissions:
contents: 'read'
id-token: 'write'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Authenticate to GCP
uses: google-github-actions/auth@v1
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@v1
with:
cluster_name: ${{ secrets.GKE_CLUSTER_NAME }}
location: ${{ secrets.GOOGLE_REGION }}
- name: Build, and Publish
uses: docker://gcr.io/k8s-skaffold/skaffold:v2.9.0
with:
args: build --file-output tags.json --profile production
entrypoint: skaffold
- name: Deploy
uses: docker://gcr.io/k8s-skaffold/skaffold:v2.9.0
with:
args: deploy --build-artifacts tags.json --profile production
entrypoint: skaffold