Update .forgejo/workflows/docker-publish.yml
All checks were successful
Docker / build (push) Successful in 1m3s
All checks were successful
Docker / build (push) Successful in 1m3s
This commit is contained in:
parent
b155358bb1
commit
52a991098c
1 changed files with 3 additions and 9 deletions
|
|
@ -1,24 +1,20 @@
|
||||||
name: Docker
|
name: Docker
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["main"]
|
branches: [ "main" ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: git.lycaknight.de
|
REGISTRY: git.lycaknight.de
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: [docker]
|
runs-on: docker
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
id-token: write
|
id-token: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Log into Container Registry
|
- name: Log into Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
|
|
@ -33,8 +29,6 @@ jobs:
|
||||||
id: build-and-push
|
id: build-and-push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
|
||||||
file: ./Dockerfile
|
|
||||||
tags: ${{ env.REGISTRY }}/${{ gitea.repository }}:latest
|
tags: ${{ env.REGISTRY }}/${{ gitea.repository }}:latest
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
Loading…
Add table
Add a link
Reference in a new issue