ajout woodpecker
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
François Pelletier 2024-02-05 17:06:35 -05:00
parent be9c11e663
commit 8ca179ff1d

View file

@ -4,7 +4,6 @@ steps:
commands:
- docker login docker.io -u $${DOCKERHUB_USERNAME} -p $${DOCKERHUB_PASSWORD}
- docker build --rm=true -f Dockerfile -t $${CI_COMMIT_REF} .
- docker push $${DOCKERHUB_USERNAME}/$${CI_REPO_NAME}:$${CI_COMMIT_REF}
- docker tag $${CI_COMMIT_REF} $${DOCKERHUB_USERNAME}/$${CI_REPO_NAME}:latest
- docker push $${DOCKERHUB_USERNAME}/$${CI_REPO_NAME}:latest
secrets: [ dockerhub_username, dockerhub_password ]