Files
vikunja-mail-parser/.gitea/workflows/buildDocker.yaml
nixbi93 5a22782e79
Some checks failed
Build and Push Docker Image / build (push) Failing after 14s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
.gitea/workflows/buildDocker.yaml aktualisiert
2025-10-07 10:19:31 +00:00

32 lines
787 B
YAML

name: Build and Push Docker Image
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Gitea Registry
uses: docker/login-action@v3
with:
registry: gitea.nixbi.de
username: ${{ gitea.actor }}
password: ${{ secrets.REGISTRY_TOKEN }} # Der Token für das eigene Repo, ggf. als PAT erzeugen
- name: Build and Push Docker Image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: gitea.nixbi.de/${{ gitea.owner }}/${{ gitea.repo }}:latest