2023-06-03 10:53:17 -03:00
|
|
|
# https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/
|
|
|
|
# https://woodpecker-ci.org/docs/usage/volumes
|
|
|
|
|
|
|
|
pipeline:
|
2024-02-19 23:29:57 -08:00
|
|
|
docker-build-go:
|
2023-06-03 10:53:17 -03:00
|
|
|
image: docker
|
|
|
|
commands:
|
|
|
|
- cd .woodpecker/docker
|
2023-06-05 18:06:50 -03:00
|
|
|
- docker build -f go.dockerfile -t offline-twitter/go .
|
2024-02-19 23:29:57 -08:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
|
|
|
|
docker-build-go-mingw:
|
|
|
|
image: docker
|
|
|
|
commands:
|
|
|
|
- cd .woodpecker/docker
|
2024-02-19 23:25:28 -08:00
|
|
|
- docker build -f go-mingw.dockerfile -t offline-twitter/go-mingw .
|
2024-02-19 23:29:57 -08:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
|
|
|
|
docker-build-innosetup:
|
|
|
|
image: docker
|
|
|
|
commands:
|
|
|
|
- cd .woodpecker/docker
|
2024-02-19 23:25:28 -08:00
|
|
|
- docker build -f innosetup.dockerfile -t offline-twitter/innosetup .
|
2023-06-03 10:57:09 -03:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|