Files
crowsnest/.gitea/workflows/docker-build.yml
Elias Kohout 04936b0aff
Some checks failed
Build and Push Docker Container / build-and-push (push) Failing after 4s
change username in pipeline
2025-10-14 18:47:23 +02:00

27 lines
674 B
YAML

name: Build and Push Docker Container
on:
push:
branches:
- "main"
jobs:
build-and-push:
runs-on:
- ubuntu-22.04
steps:
- name: Login to Gitea Docker Registry
uses: docker/login-action@v3
with:
registry: g.eliaskohout.de
username: ${{ gitea.actor }}
password: ${{ secrets.ACCESS_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: "g.eliaskohout.de/eliaskohout/crowsnest:${{gitea.sha}},g.eliaskohout.de/eliaskohout/crowsnest:latest"