Files
autopkg/.gitea/workflows/build.yml
phantom 4513332a1d
Some checks failed
Build Docker Image / build (push) Failing after 11s
Fix build script
2025-11-27 06:16:54 -06:00

36 lines
807 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: docker/login-action@v3
with:
registry: git.shadeouts.net
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Configure Docker Meta
id: meta
uses: docker/metadata-action@v5
images: name/app
- name: Build & Push Docker Image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ steps.meta.output.tags }}
labels: ${{ steps.meta.output.labels }}