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