forked from zv0n/lunch-go
CI: fix docker build, test login
This commit is contained in:
parent
f9359bec88
commit
6e3f783734
@ -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
|
Loading…
Reference in New Issue
Block a user