Compare commits

...

1 commit

Author SHA1 Message Date
garionion adccbb8b34
didnt work -.-
Some checks failed
continuous-integration/drone/push Build is failing
2021-08-15 01:11:51 +02:00

View file

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