2024-04-18 10:50:22 +02:00
|
|
|
when:
|
|
|
|
- event: [pull_request, tag]
|
|
|
|
|
|
|
|
|
2024-04-18 10:13:09 +02:00
|
|
|
steps:
|
|
|
|
docker-deploy-pr:
|
|
|
|
when:
|
|
|
|
- event: pull_request
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
|
|
|
|
repo: lauralani/ntppool-exporter
|
|
|
|
registry: https://index.docker.io/v1/
|
2024-04-18 10:43:50 +02:00
|
|
|
tag: pr-${CI_COMMIT_PULL_REQUEST}
|
2024-04-18 10:13:09 +02:00
|
|
|
username: lauralani
|
|
|
|
password:
|
|
|
|
from_secret: dockerhub_token
|
|
|
|
|
|
|
|
|
|
|
|
docker-deploy-tag:
|
|
|
|
when:
|
2024-04-18 10:50:22 +02:00
|
|
|
event: tag
|
2024-04-18 10:13:09 +02:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
|
|
|
|
repo: lauralani/ntppool-exporter
|
|
|
|
registry: https://index.docker.io/v1/
|
|
|
|
auto_tag: true
|
|
|
|
username: lauralani
|
|
|
|
password:
|
|
|
|
from_secret: dockerhub_token
|
2024-04-18 10:43:50 +02:00
|
|
|
|
|
|
|
|