ta-organizerr/.gitea/workflows/docker-build.yml
wander e0a48cfe08
Some checks failed
Docker Build / build (push) Failing after 16s
ci: hardcode registry url to fix act env evaluation
2026-03-08 03:20:46 -04:00

43 lines
1,016 B
YAML

name: Docker Build
on:
push:
branches: [ "main" ]
paths-ignore:
- 'README.md'
- '.gitignore'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: git.unfilteredrealm.com
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: git.unfilteredrealm.com/${{ github.repository }}
tags: type=raw,value=latest
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}