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:
|
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
|
||||||
|
|
Loading…
Reference in a new issue