fix: correctly use secrets for woodpecker
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Melora Hugues 2023-10-22 11:12:49 +02:00
parent 39ed7aa07f
commit c8bbd4f260

View file

@ -18,7 +18,7 @@ steps:
depends_on: depends_on:
- name: docker-build-only - name: docker-build-only
image: thegeeklab/drone-docker-buildx image: woodpeckerci/plugin-docker-buildx
privileged: true privileged: true
settings: settings:
repo: git.faercol.me/polyculeconnect/polyculeconnect repo: git.faercol.me/polyculeconnect/polyculeconnect
@ -34,16 +34,16 @@ steps:
- main - main
- name: docker-build-push - name: docker-build-push
image: thegeeklab/drone-docker-buildx image: woodpeckerci/plugin-docker-buildx
privileged: true privileged: true
settings: settings:
repo: git.faercol.me/polyculeconnect/polyculeconnect repo: git.faercol.me/polyculeconnect/polyculeconnect
registry: git.faercol.me registry: git.faercol.me
tags: latest tags: latest
username: username:
from_secret: GIT_USERNAME from_secret: git_username
password: password:
from_secret: GIT_PASSWORD from_secret: git_password
platforms: platforms:
- linux/amd64 - linux/amd64
# - linux/arm64 # - linux/arm64
@ -69,7 +69,7 @@ depends_on:
steps: steps:
- name: docker-push-tag - name: docker-push-tag
image: thegeeklab/drone-docker-buildx image: woodpeckerci/plugin-docker-buildx
privileged: true privileged: true
settings: settings:
registry: git.faercol.me registry: git.faercol.me
@ -79,10 +79,10 @@ steps:
- linux/amd64 - linux/amd64
# - linux/arm64 # - linux/arm64
username: username:
from_secret: GIT_USERNAME from_secret: git_username
password: password:
from_secret: GIT_PASSWORD from_secret: git_password
trigger: trigger:
event: event:
- tag - tag