23 lines
508 B
YAML
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 }}
|