test docker
This commit is contained in:
parent
1ef5512561
commit
58ac5e9c15
1 changed files with 19 additions and 34 deletions
19
.drone.yml
19
.drone.yml
|
@ -25,12 +25,8 @@ steps:
|
|||
kind: pipeline
|
||||
name: build
|
||||
|
||||
workspace:
|
||||
base: /go
|
||||
path: src/gitea.hackmi.ch/Phil/goshorly
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
- name: build-docker
|
||||
image: docker:dind
|
||||
volumes:
|
||||
- name: dockersock
|
||||
|
@ -40,6 +36,7 @@ steps:
|
|||
from_secret: DOCKER_PASSWORD
|
||||
commands:
|
||||
- sleep 10
|
||||
- docker ps -a
|
||||
- docker context create build
|
||||
- docker buildx create build --use
|
||||
- echo $DOCKER_PASSWORD | docker login --username Phil --password-stdin gitea.hackmi.ch
|
||||
|
@ -67,15 +64,3 @@ volumes:
|
|||
|
||||
depends_on:
|
||||
- check
|
||||
|
||||
# ---
|
||||
# kind: pipeline
|
||||
# name: release
|
||||
|
||||
# workspace:
|
||||
# base: /go
|
||||
# path: src/gitea.hackmi.ch/Phil/goshorly
|
||||
|
||||
# depends_on:
|
||||
# - check
|
||||
# - build
|
Loading…
Reference in a new issue