Files
pihkaal-me/.gitea/workflows/build.yml
Pihkaal 2721f0958a
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m5s
fix(docker): repair build
2026-02-13 14:32:02 +01:00

31 lines
731 B
YAML

name: Build and Push Docker Image
on:
push:
branches:
- beta
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: git.pihkaal.me
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push Docker image
run: |
docker build --target dev -t git.pihkaal.me/pihkaal/pihkaal-me:dev .
docker push git.pihkaal.me/pihkaal/pihkaal-me:dev