CI: testing login
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
7e7a81bae0
commit
8f3a96e82c
65
.drone.yml
65
.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
|
Loading…
Reference in New Issue
Block a user