2023-09-29 17:00:12 +02:00
|
|
|
steps:
|
2024-02-21 18:54:00 +01:00
|
|
|
"Test docker build":
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
|
|
|
repo: gitnet.fr/deblan/woodpecker-email
|
|
|
|
dry-run: true
|
2024-01-15 12:41:08 +01:00
|
|
|
|
2024-02-21 18:45:28 +01:00
|
|
|
"Docker build and push":
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
2023-01-03 21:32:53 +01:00
|
|
|
settings:
|
2024-02-21 18:48:22 +01:00
|
|
|
repo: gitnet.fr/deblan/woodpecker-email,deblan/woodpecker-email
|
2024-02-21 18:54:00 +01:00
|
|
|
tags: ${CI_COMMIT_TAG=latest}
|
2024-02-21 18:45:28 +01:00
|
|
|
logins:
|
|
|
|
- registry: https://gitnet.fr
|
|
|
|
username:
|
|
|
|
from_secret: registry_user
|
|
|
|
password:
|
|
|
|
from_secret: registry_password
|
|
|
|
- registry: https://index.docker.io/v1/
|
|
|
|
username:
|
|
|
|
from_secret: registry_user
|
|
|
|
password:
|
|
|
|
from_secret: registry_docker_password
|
2024-02-21 18:54:00 +01:00
|
|
|
when:
|
|
|
|
- branch: [master]
|
|
|
|
event: [push]
|
|
|
|
- event: [tag]
|