.drone.yml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
C菌
2022-04-13 05:38:43 +08:00
parent 9591f47ef3
commit 68b73dd6a5

View File

@@ -11,23 +11,23 @@ steps:
image: golang
commands:
- "pwd && ls"
- name: build docker image
image: plugins/docker
pull: if-not-exists
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: Dockerfile
repo: mirrors2/helloworld
auto_tag: true
# auto_tag_suffix: linux-arm64
# insecure: true
when:
event:
- push
- tag
# - name: build docker image
# image: plugins/docker
# pull: if-not-exists
# settings:
# username:
# from_secret: docker_username
# password:
# from_secret: docker_password
# dockerfile: Dockerfile
# repo: mirrors2/helloworld
# auto_tag: true
# # auto_tag_suffix: linux-arm64
# # insecure: true
# when:
# event:
# - push
# - tag
- name: dind
pull: if-not-exists #always
image: docker:dind
@@ -35,7 +35,6 @@ steps:
- name: dockersock
path: /var/run/docker.sock
commands:
- make docker
- docker buildx build --platform linux/amd64,linux/arm64 -t mirrors2/helloworld:latest . --push
privileged: true
settings: