Update .gitea/workflows/docker_build.yaml

This commit is contained in:
2025-04-19 20:16:10 +00:00
parent d4a46a4eaf
commit b3b4a5c7bb

View File

@@ -1,8 +1,10 @@
name: Build Docker images
on:
workflow_dispatch:
push:
branches: [ "master" ]
branches: [ "main" ]
tags: [ "*" ]
jobs:
acls:
@@ -12,6 +14,12 @@ jobs:
-
name: Checkout
uses: actions/checkout@v4
-
name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: git.remilia.ch/remilia/kakigoori
-
name: Login to Gitea Container Hub
uses: docker/login-action@v3
@@ -30,6 +38,7 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
push: true
push: ${{ gitea.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
tags: git.remilia.ch/remilia/kakigoori:latest