fix: correctly use secrets for woodpecker
This commit is contained in:
parent
39ed7aa07f
commit
c8bbd4f260
1 changed files with 8 additions and 8 deletions
|
@ -18,7 +18,7 @@ steps:
|
|||
depends_on:
|
||||
|
||||
- name: docker-build-only
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
privileged: true
|
||||
settings:
|
||||
repo: git.faercol.me/polyculeconnect/polyculeconnect
|
||||
|
@ -34,16 +34,16 @@ steps:
|
|||
- main
|
||||
|
||||
- name: docker-build-push
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
privileged: true
|
||||
settings:
|
||||
repo: git.faercol.me/polyculeconnect/polyculeconnect
|
||||
registry: git.faercol.me
|
||||
tags: latest
|
||||
username:
|
||||
from_secret: GIT_USERNAME
|
||||
from_secret: git_username
|
||||
password:
|
||||
from_secret: GIT_PASSWORD
|
||||
from_secret: git_password
|
||||
platforms:
|
||||
- linux/amd64
|
||||
# - linux/arm64
|
||||
|
@ -69,7 +69,7 @@ depends_on:
|
|||
|
||||
steps:
|
||||
- name: docker-push-tag
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
privileged: true
|
||||
settings:
|
||||
registry: git.faercol.me
|
||||
|
@ -79,10 +79,10 @@ steps:
|
|||
- linux/amd64
|
||||
# - linux/arm64
|
||||
username:
|
||||
from_secret: GIT_USERNAME
|
||||
from_secret: git_username
|
||||
password:
|
||||
from_secret: GIT_PASSWORD
|
||||
from_secret: git_password
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
- tag
|
||||
|
|
Loading…
Reference in a new issue