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