Files
autopkg/.gitea/workflows/build.yml
phantom 905922c313
Some checks failed
Build Docker Image / build (push) Failing after 8s
Setup Gitea CI/CD
2025-11-27 04:30:21 -06:00

36 lines
809 B
YAML

name: Build Docker Image
on:
push:
branches:
- "master"
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: Login to Gitea Registry
uses: actions/docker-login@v3
with:
registry: git.local
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Configure Docker Meta
uses: actions/docker-metadata@v5
id: meta
images: phantom/autopkg
- name: Build & Push Docker Image
uses: actions/docker-build-push@v6
with:
context: .
push: true
tags: ${{ steps.meta.output.tags }}
labels: ${{ steps.meta.output.labels }}