Compare commits

...

1 Commits

Author SHA1 Message Date
garionion adccbb8b34
didnt work -.-
continuous-integration/drone/push Build is failing Details
2021-08-15 01:11:51 +02:00
1 changed files with 17 additions and 8 deletions

View File

@ -10,13 +10,22 @@ steps:
- go test ./...
- name: publish
image: docker:20
environment:
username:
from_secret: docker_username
image: plugins/docker:latest
volumes:
- name: docker_socket
path: /var/run/docker.sock
settings:
auto_tag: true
auto_tag_suffix: linux-amd64
daemon_off: false
dockerfile: Dockerfile
password:
from_secret: docker_password
commands:
- docker login -u $username --password $password
- docker build --tag drone-yaml-server:latest $PWD
- docker push drone-yaml-server:latest
repo: garionion/drone-yaml-server
username:
from_secret: docker_username
volumes:
- name: docker_socket
host:
path: /var/run/podman/podman.sock