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