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 kind: pipeline
name: build name: build
workspace:
base: /go
path: src/gitea.hackmi.ch/Phil/goshorly
steps: steps:
- name: build - name: build-docker
image: docker:dind image: docker:dind
volumes: volumes:
- name: dockersock - name: dockersock
@ -40,6 +36,7 @@ steps:
from_secret: DOCKER_PASSWORD from_secret: DOCKER_PASSWORD
commands: commands:
- sleep 10 - sleep 10
- docker ps -a
- docker context create build - docker context create build
- docker buildx create build --use - docker buildx create build --use
- echo $DOCKER_PASSWORD | docker login --username Phil --password-stdin gitea.hackmi.ch - echo $DOCKER_PASSWORD | docker login --username Phil --password-stdin gitea.hackmi.ch
@ -67,15 +64,3 @@ volumes:
depends_on: depends_on:
- check - check
# ---
# kind: pipeline
# name: release
# workspace:
# base: /go
# path: src/gitea.hackmi.ch/Phil/goshorly
# depends_on:
# - check
# - build