Files
hudozka/.github/workflows/build-pb.yaml
T
2026-04-12 19:13:24 +03:00

32 lines
767 B
YAML

name: Build Pocketbase and Deploy
on:
push:
branches:
- master
paths:
- "pb/**"
jobs:
build:
name: Build Image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.PAT }}
- name: Build and Push
uses: docker/build-push-action@v5
with:
push: true
context: pb
tags: |
ghcr.io/tmshv/hudozka-pb:latest