15 lines
442 B
YAML
15 lines
442 B
YAML
when:
|
|
branch: ['dev', 'stable']
|
|
event: push
|
|
steps:
|
|
- name: build
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
secrets: [docker_username, docker_password]
|
|
settings:
|
|
repo: hexlocation/disseminate
|
|
platforms: linux/amd64
|
|
dockerfile: Dockerfile
|
|
tags: ["${CI_COMMIT_BRANCH}-latest","${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA}"]
|
|
username: ${docker_username}
|
|
password:
|
|
from_secret: docker_password
|