ci
All checks were successful
ci/woodpecker/push/docker-build Pipeline was successful

This commit is contained in:
jeff 2023-06-18 23:29:11 -07:00
parent 327b1a2999
commit ace25f6f7b
Signed by: jeff
GPG Key ID: 6672802D9BEE23CB

View File

@ -1,27 +1,21 @@
pipeline: pipeline:
create-tags:
when:
event: push
branch: main
image: node:20-bookworm
pull: true
commands:
- echo $(date -u +%Y-%m-%d_%H%M%S) > .docker_tags
- echo "latest" >> .docker_tags
publish: publish:
when: when:
event: push event: push
branch: master branch: main
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
pull_image: true pull_image: false
dockerfile: Dockerfile dockerfile: Dockerfile
# tags_file: .docker_tags tags:
auto_tag: true - latest
secrets: [ docker_registry, docker_username, docker_password ] - ${CI_COMMIT:0:8}
registry: ${DOCKER_REGISTRY} secrets: [ docker_registry, docker_config, docker_username, docker_repo ]
repo: simplesystems/website registry:
from_secret: docker_registry
username: username:
from_secret: docker_username from_secret: docker_username
password: repo:
from_secret: docker_password from_secret: docker_repo
config:
from_secret: docker_config