This commit is contained in:
parent
327b1a2999
commit
ace25f6f7b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user