1
0
forked from zv0n/lunch-go

CI: fix docker build, test login

This commit is contained in:
zvon 2023-08-25 13:31:48 +02:00
parent f9359bec88
commit 6e3f783734

View File

@ -14,7 +14,7 @@ steps:
- name: build
image: docker
commands:
- docker build
- docker build -f Dockerfile .
---
kind: pipeline
type: kubernetes
@ -27,6 +27,4 @@ steps:
- name: build
image: docker
commands:
- docker login "docker.zvon.tech" -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
- docker buildx create --use
- docker buildx build -f Dockerfile -t "docker.zvon.tech/lunch-go:${DRONE_TAG}" --platform linux/amd64,linux/arm64 --push .
- echo "$DOCKER_PASSWORD" | docker login "docker.zvon.tech" -u "$DOCKER_USERNAME" --password-stdin