test docker

This commit is contained in:
Phil 2022-12-24 00:02:06 +01:00
parent 1ef5512561
commit 58ac5e9c15

View file

@ -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