Update .gitea/workflows/docker_build.yaml
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
name: Build Docker images
|
name: Build Docker images
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches: [ "master" ]
|
branches: [ "main" ]
|
||||||
|
tags: [ "*" ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
acls:
|
acls:
|
||||||
@@ -12,6 +14,12 @@ jobs:
|
|||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v4
|
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
|
name: Login to Gitea Container Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
@@ -30,6 +38,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: ${{ gitea.event_name != 'pull_request' }}
|
||||||
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: git.remilia.ch/remilia/kakigoori:latest
|
|
||||||
|
Reference in New Issue
Block a user