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
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
branches: [ "main" ]
|
||||
|
||||
env:
|
||||
REGISTRY: git.lycaknight.de
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: [docker]
|
||||
|
||||
runs-on: docker
|
||||
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:
|
||||
|
|
@ -33,8 +29,6 @@ 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