This commit is contained in:
root 2023-11-10 17:05:41 +00:00
parent f397e1a3cc
commit 6c0740b998
1 changed files with 2 additions and 2 deletions

View File

@ -31,9 +31,9 @@ steps:
- path: - path:
include: [ 'technitium.yml', '.woodpecker.yml' ] include: [ 'technitium.yml', '.woodpecker.yml' ]
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
secrets: [REGISTRY_USER, REGISTRY_PASSWORD] # secrets: [REGISTRY_USER, REGISTRY_PASSWORD]
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
commands: commands:
- echo "$${REGISTRY_PASSWORD}" | docker login -u "$${REGISTRY_USER}" --password-stdin git.nixc.us # - echo "$${REGISTRY_PASSWORD}" | docker login -u "$${REGISTRY_USER}" --password-stdin git.nixc.us
- docker stack deploy --with-registry-auth -c ./$${CI_REPO_NAME}.yml $${CI_REPO_NAME} - docker stack deploy --with-registry-auth -c ./$${CI_REPO_NAME}.yml $${CI_REPO_NAME}