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
|
- name: build
|
||||||
image: docker
|
image: docker
|
||||||
commands:
|
commands:
|
||||||
- docker build
|
- docker build -f Dockerfile .
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
@ -27,6 +27,4 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
image: docker
|
image: docker
|
||||||
commands:
|
commands:
|
||||||
- docker login "docker.zvon.tech" -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
|
- echo "$DOCKER_PASSWORD" | docker login "docker.zvon.tech" -u "$DOCKER_USERNAME" --password-stdin
|
||||||
- docker buildx create --use
|
|
||||||
- docker buildx build -f Dockerfile -t "docker.zvon.tech/lunch-go:${DRONE_TAG}" --platform linux/amd64,linux/arm64 --push .
|
|
Loading…
Reference in New Issue
Block a user