22 lines
518 B
YAML
22 lines
518 B
YAML
pipeline:
|
|
publish:
|
|
when:
|
|
event: push
|
|
branch: master
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
pull_image: false
|
|
dockerfile: Dockerfile
|
|
tags:
|
|
- ${CI_COMMIT:0:8}
|
|
- latest
|
|
secrets: [ docker_registry, docker_config, docker_username, docker_repo ]
|
|
registry:
|
|
from_secret: docker_registry
|
|
username:
|
|
from_secret: docker_username
|
|
repo:
|
|
from_secret: docker_repo
|
|
config:
|
|
from_secret: docker_config
|