point-median-backend/.woodpecker.yaml
François Pelletier a28c38a2dc
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
test avec woodpecker
2024-02-03 23:59:18 -05:00

12 lines
508 B
YAML

steps:
- name: login
image: plugins/docker
commands:
- docker login docker.io -u $${DOCKERHUB_USERNAME} -p $${DOCKERHUB_PASSWORD}
- export TAG=$(openssl rand -hex 8)
- docker build --rm=true -f Dockerfile -t $TAG .
- docker tag $TAG $${DOCKERHUB_USERNAME}/point-median-backend:latest
- docker push $${DOCKERHUB_USERNAME}/point-median-backend:latest
secrets: [ dockerhub_username, dockerhub_password ]
volumes:
- /var/run/docker.sock:/var/run/docker.sock