Skip to content

node?

node? #10

Workflow file for this run

name: Build web
on:
push:
branches: [main]
paths:
- 'apps/web/**'
- 'packages/**'
- '.github/workflows/web.yml'
pull_request:
branches: [main]
paths:
- 'apps/web/**'
- 'packages/db/**'
- '.github/workflows/web.yml'
permissions:
contents: read
id-token: write
jobs:
build:
runs-on: depot-ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Setup JFrog Fly
uses: jfrog/fly-action@v1
with:
url: https://t3content.jfrog.io
- name: Set up Depot CLI
uses: depot/setup-action@v1
- name: Build Docker image
run: |
depot build \
-f docker/Dockerfile.web \
-t t3content.jfrog.io/docker/r8y-web:${{ github.sha }} \
-t t3content.jfrog.io/docker/r8y-web:latest \
--platform linux/amd64,linux/arm64 \
--push \
.
env:
DEPOT_TOKEN: ${{ secrets.DEPOT_SECRET }}