update ci
Some checks failed
ci/woodpecker/push/build/5 Pipeline is pending
ci/woodpecker/push/build/6 Pipeline is pending
ci/woodpecker/push/build/7 Pipeline is pending
ci/woodpecker/push/build/4 Pipeline failed
ci/woodpecker/push/build/2 Pipeline failed
ci/woodpecker/push/build/3 Pipeline failed
ci/woodpecker/push/build/1 Pipeline failed
Some checks failed
ci/woodpecker/push/build/5 Pipeline is pending
ci/woodpecker/push/build/6 Pipeline is pending
ci/woodpecker/push/build/7 Pipeline is pending
ci/woodpecker/push/build/4 Pipeline failed
ci/woodpecker/push/build/2 Pipeline failed
ci/woodpecker/push/build/3 Pipeline failed
ci/woodpecker/push/build/1 Pipeline failed
This commit is contained in:
parent
ded5fa6dcd
commit
362df44be0
|
@ -9,23 +9,27 @@ matrix:
|
||||||
- 7.1
|
- 7.1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
docker:
|
"Docker build and push":
|
||||||
image: docker:dind
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
secrets: [registry_user, registry_password, registry_docker_password]
|
settings:
|
||||||
commands:
|
repo: gitnet.fr/deblan/php,deblan/php
|
||||||
- echo "$REGISTRY_PASSWORD" | docker login -u "$REGISTRY_USER" --password-stdin gitnet.fr
|
tags: ${PHP_VERSION}
|
||||||
- echo "$REGISTRY_DOCKER_PASSWORD" | docker login -u "$REGISTRY_USER" --password-stdin
|
logins:
|
||||||
- docker build -t "deblan/php:$PHP_VERSION" -f "./Dockerfile.php$PHP_VERSION" .
|
- registry: https://gitnet.fr
|
||||||
- docker tag "deblan/php:$PHP_VERSION" "gitnet.fr/deblan/php:$PHP_VERSION"
|
username:
|
||||||
- docker push "gitnet.fr/deblan/php:$PHP_VERSION"
|
from_secret: registry_user
|
||||||
- docker push "deblan/php:$PHP_VERSION"
|
password:
|
||||||
volumes:
|
from_secret: registry_password
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- registry: https://index.docker.io/v1/
|
||||||
|
username:
|
||||||
|
from_secret: registry_user
|
||||||
|
password:
|
||||||
|
from_secret: registry_docker_password
|
||||||
when:
|
when:
|
||||||
- event: cron
|
- event: cron
|
||||||
- branch: [master]
|
- branch: [master]
|
||||||
|
|
||||||
mail:
|
"Send notification":
|
||||||
image: deblan/woodpecker-email
|
image: deblan/woodpecker-email
|
||||||
settings:
|
settings:
|
||||||
dsn:
|
dsn:
|
||||||
|
|
Loading…
Reference in a new issue