From 68b73dd6a5e182bdbcc3525663157aa52a3a8723 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=E8=8F=8C?= Date: Wed, 13 Apr 2022 05:38:43 +0800 Subject: [PATCH] .drone.yml --- .drone.yml | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7f5be2a..84deca2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: