This commit is contained in:
parent
327b1a2999
commit
ace25f6f7b
@ -1,27 +1,21 @@
|
||||
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:
|
||||
when:
|
||||
event: push
|
||||
branch: master
|
||||
branch: main
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
pull_image: true
|
||||
pull_image: false
|
||||
dockerfile: Dockerfile
|
||||
# tags_file: .docker_tags
|
||||
auto_tag: true
|
||||
secrets: [ docker_registry, docker_username, docker_password ]
|
||||
registry: ${DOCKER_REGISTRY}
|
||||
repo: simplesystems/website
|
||||
tags:
|
||||
- latest
|
||||
- ${CI_COMMIT:0:8}
|
||||
secrets: [ docker_registry, docker_config, docker_username, docker_repo ]
|
||||
registry:
|
||||
from_secret: docker_registry
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo:
|
||||
from_secret: docker_repo
|
||||
config:
|
||||
from_secret: docker_config
|
||||
|
Loading…
Reference in New Issue
Block a user