portfolio/.woodpecker.yml
Quentin Pismont a68ac83905
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
test docker
2023-08-10 21:08:44 +02:00

13 lines
No EOL
464 B
YAML

steps:
publish-docker:
image: docker:cli
commands:
- docker login gitea.qpismont.fr -u="${DOCKER_USERNAME}" -p="${DOCKER_PASSWORD}"
- docker build . --tag gitea.qpismont.fr/qpismont/portfolio:latest
- docker push gitea.qpismont.fr/qpismont/portfolio:latest
when:
branch: ${CI_REPO_DEFAULT_BRANCH}
event: push
volumes:
- /var/run/docker.sock:/var/run/docker.sock
secrets: [docker_username, docker_password]