Update .gitea/workflows/docker_build.yaml
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user