From 8f3a96e82caf6813513152f006fe26c72ecb3d09 Mon Sep 17 00:00:00 2001 From: zvon Date: Fri, 25 Aug 2023 13:45:56 +0200 Subject: [PATCH] CI: testing login --- .drone.yml | 65 +++++++++++++++++++++++++++--------------------------- 1 file changed, 33 insertions(+), 32 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3870564..ec32bda 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,35 +1,35 @@ ---- -kind: pipeline -type: kubernetes -name: build -platform: - os: linux - arch: amd64 - -steps: -- name: formatting-check - image: golang - commands: - - test -z $(gofmt -l .) -- name: build - image: docker:dind - volumes: - - name: dockersock - path: /var/run - commands: - - docker build -f Dockerfile . - -services: -- name: docker - image: docker:dind - privileged: true - volumes: - - name: dockersock - path: /var/run - -volumes: -- name: dockersock - temp: {} +#--- +#kind: pipeline +#type: kubernetes +#name: build +#platform: +# os: linux +# arch: amd64 +# +#steps: +#- name: formatting-check +# image: golang +# commands: +# - test -z $(gofmt -l .) +#- name: build +# image: docker:dind +# volumes: +# - name: dockersock +# path: /var/run +# commands: +# - docker build -f Dockerfile . +# +#services: +#- name: docker +# image: docker:dind +# privileged: true +# volumes: +# - name: dockersock +# path: /var/run +# +#volumes: +#- name: dockersock +# temp: {} --- kind: pipeline type: kubernetes @@ -42,4 +42,5 @@ steps: - name: build image: docker commands: + - echo "$DOCKER_USERNAME" - echo "$DOCKER_PASSWORD" | docker login "docker.zvon.tech" --username "$DOCKER_USERNAME" --password-stdin \ No newline at end of file