Added gitea workflow
Some checks failed
Build and Publish Docker Image / build-and-push (push) Failing after 2m2s

This commit is contained in:
Pedan
2025-07-28 20:25:40 +02:00
parent e0acbe7cbd
commit fede44168e

View File

@@ -0,0 +1,31 @@
name: Build and Publish Docker Image
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: gitea.ztsw.de
username: ${{ secrets.CR_USERNAME }}
password: ${{ secrets.CR_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: git.ztsw.de/pedan/freemoto/freemoto-web:latest