Files
personal-website/.gitea/workflows/build.yml
Stan Runge 2bfba0d8fe
All checks were successful
build / build (push) Successful in 2m54s
ci: build and push image
2026-08-24 20:47:14 +00:00

23 lines
508 B
YAML

name: build
on:
push:
branches: [main, staging]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: git.stanrunge.dev
username: ${{ github.actor }}
password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v5
with:
context: ./packages/web
push: true
tags: git.stanrunge.dev/stan/personal-website:${{ github.sha }}