Merge pull request 'upload docker images to forgejo instead of dockerhub' (#3) from dev into stable

Reviewed-on: https://git.clatter.cc/hexlocation/disseminate/pulls/3
This commit is contained in:
hexlocation 2024-04-04 09:13:26 +02:00
commit 237a9318a8

View file

@ -1,15 +1,18 @@
# yes
when:
branch: ['dev', 'stable']
event: push
event: ["push", "manual"]
steps:
- name: build
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]
secrets: [ gitpat ]
settings:
repo: hexlocation/disseminate
repo: git.clatter.cc/hexlocation/disseminate
platforms: linux/amd64
dockerfile: Dockerfile
tags: ["${CI_COMMIT_BRANCH}-latest","${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA}"]
username: ${docker_username}
username: hexlocation
registry: git.clatter.cc
#insecure: true
password:
from_secret: docker_password
from_secret: gitpat