Fix .drone.yml formatting
This commit is contained in:
parent
66d505e992
commit
fd2461f0a4
24
.drone.yml
24
.drone.yml
@ -7,14 +7,14 @@ pipeline:
|
|||||||
build:
|
build:
|
||||||
image: docker
|
image: docker
|
||||||
environment:
|
environment:
|
||||||
- DOCKER_HOST=tcp://docker:2375
|
- DOCKER_HOST=tcp://docker:2375
|
||||||
commands:
|
commands:
|
||||||
- docker build -t devbuild .
|
- docker build -t devbuild .
|
||||||
|
|
||||||
test:
|
test:
|
||||||
image: docker
|
image: docker
|
||||||
environment:
|
environment:
|
||||||
- DOCKER_HOST=tcp://docker:2375
|
- DOCKER_HOST=tcp://docker:2375
|
||||||
commands:
|
commands:
|
||||||
- docker pull adamant/busybox
|
- docker pull adamant/busybox
|
||||||
- docker tag adamant/busybox devbuild
|
- docker tag adamant/busybox devbuild
|
||||||
@ -29,13 +29,13 @@ pipeline:
|
|||||||
image: docker
|
image: docker
|
||||||
secrets: [ DOCKER_USER, DOCKER_PASS ]
|
secrets: [ DOCKER_USER, DOCKER_PASS ]
|
||||||
environment:
|
environment:
|
||||||
- DOCKER_HOST=tcp://docker:2375
|
- DOCKER_HOST=tcp://docker:2375
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache openssl
|
- apk add --no-cache openssl
|
||||||
- docker tag devbuild adamant/busybox:latest
|
- docker tag devbuild adamant/busybox:latest
|
||||||
- docker tag devbuild adamant/busybox:1
|
- docker tag devbuild adamant/busybox:1
|
||||||
- docker tag devbuild adamant/busybox:1.0
|
- docker tag devbuild adamant/busybox:1.0
|
||||||
- docker login -u $DOCKER_USER -p $DOCKER_PASS
|
- docker login -u $DOCKER_USER -p $DOCKER_PASS
|
||||||
- docker push adamant/busybox:latest
|
- docker push adamant/busybox:latest
|
||||||
- docker push adamant/busybox:1
|
- docker push adamant/busybox:1
|
||||||
- docker push adamant/busybox:1.0
|
- docker push adamant/busybox:1.0
|
||||||
|
Loading…
Reference in New Issue
Block a user