2024-03-31 10:17:54 +02:00
|
|
|
when:
|
2024-03-31 11:56:18 +02:00
|
|
|
branch: ['dev', 'stable']
|
2024-03-31 10:17:54 +02:00
|
|
|
event: push
|
2024-03-31 09:52:19 +02:00
|
|
|
steps:
|
2024-03-31 09:51:15 +02:00
|
|
|
- name: build
|
2024-03-31 11:34:48 +02:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
2024-03-31 11:41:05 +02:00
|
|
|
secrets: [docker_username, docker_password]
|
2024-03-31 09:51:15 +02:00
|
|
|
settings:
|
2024-03-31 11:41:05 +02:00
|
|
|
repo: hexlocation/disseminate
|
2024-03-31 09:51:15 +02:00
|
|
|
platforms: linux/amd64
|
|
|
|
dockerfile: Dockerfile
|
2024-03-31 13:04:30 +02:00
|
|
|
tags: ["${CI_COMMIT_BRANCH}-latest","${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA}"]
|
2024-03-31 11:41:05 +02:00
|
|
|
username: ${docker_username}
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|