Compare commits

4 Commits

Author SHA1 Message Date
b5e99a2cb2 install git
Some checks failed
continuous-integration/drone the build failed
2021-08-31 03:22:05 +02:00
d68e700799 dind
Some checks failed
continuous-integration/drone the build failed
2021-08-31 03:17:49 +02:00
21b44cd17d added privileged
Some checks failed
continuous-integration/drone the build failed
2021-08-31 02:08:41 +02:00
37537d321a I din't know what I'm doing
Some checks failed
continuous-integration/drone the build failed
2021-08-31 02:06:46 +02:00

View File

@@ -1,12 +1,13 @@
pipeline: pipeline:
build: build:
image: debian:latest # image: amd64/alpine:latest
image: docker:dind
commands: commands:
- apt-get update && apt-get install -y docker git - apk -U add git
- docker build https://github.com/Saiyato/snapserver_docker.git - docker build https://github.com/Saiyato/snapserver_docker.git
- docker container commit 58dfdc384cc5 snapserver_docker_ci:amd64 - docker container commit 58dfdc384cc5 snapserver_docker_ci:amd64
- docker image tag snapserver_docker_ci:amd64 infeeeee/snapserver_docker_ci:amd64 - docker image tag snapserver_docker_ci:amd64 infeeeee/snapserver_docker_ci:amd64
- docker push infeeeee/snapserver_docker_ci:amd64 - docker push infeeeee/snapserver_docker_ci:amd64
# volumes: # volumes:
# - /var/run/docker.sock:/var/run/docker.sock # - /var/run/docker.sock:/var/run/docker.sock
privileged: true