Convert Github Action to Gitea Action
Build and push Docker image / build-and-push (push) Successful in 3m51s

This commit is contained in:
2026-08-31 04:29:54 +02:00
parent 76a7ac9d83
commit 3defe60bb9
2 changed files with 33 additions and 45 deletions
+33
View File
@@ -0,0 +1,33 @@
name: Build and push Docker image
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
if: gitea.repository == 'janis/f1r3wave-website'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to private registry
uses: docker/login-action@v3
with:
registry: registry.tealfire.de
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
push: true
tags: registry.tealfire.de/f1r3wave-website:latest