Skip to content

Merge pull request #27 from depot/kandinsky-3 #57

Merge pull request #27 from depot/kandinsky-3

Merge pull request #27 from depot/kandinsky-3 #57

Workflow file for this run

name: Build
on:
push:
branches:
- main
workflow_dispatch: {}
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
concurrency: build
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8.x.x
- name: Install node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install depot
uses: depot/setup-action@v1
with:
oidc: true
- name: Authenticate with Google Cloud
uses: google-github-actions/auth@v1
with:
credentials_json: ${{ secrets.GCP_SA_KEY }}
- name: Setup SSH agent
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.HUGGING_FACE_SSH_KEY }}
- name: Set up gcloud CLI
uses: google-github-actions/setup-gcloud@v1
- name: Authenticate with Artifact Registry
run: gcloud auth configure-docker us-docker.pkg.dev
- name: Build images
run: pnpm build-all