docker-mage/.woodpecker/build.yml
Simon Vieille bbc6771997
All checks were successful
ci/woodpecker/push/build Pipeline was successful
update build ci
2023-10-18 21:54:25 +02:00

13 lines
307 B
YAML

when:
- event: [push, manual, pull_request]
branch: [main]
steps:
docker:
image: docker:dind
commands:
- docker build -t "img_$CI_COMMIT_SHA:latest" -f "./Dockerfile" .
- docker image rm "img_$CI_COMMIT_SHA:latest"
volumes:
- /var/run/docker.sock:/var/run/docker.sock