-
Notifications
You must be signed in to change notification settings - Fork 9
45 lines (39 loc) · 990 Bytes
/
web.yml
File metadata and controls
45 lines (39 loc) · 990 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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 }}