From 2bfba0d8fe3f99420d09ac370adf811957d5262c Mon Sep 17 00:00:00 2001 From: Stan Runge Date: Mon, 24 Aug 2026 20:47:14 +0000 Subject: [PATCH] ci: build and push image --- .gitea/workflows/build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..26899b1 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,22 @@ +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 }}