drone ci
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Paul Zinselmeyer 2023-06-10 17:15:46 +02:00
parent f006660aee
commit 3028992285
Signed by: pfzetto
GPG key ID: 4EEF46A5B276E648

View file

@ -15,8 +15,14 @@ steps:
when:
branch:
- master
image: docker:latest
commands:
- docker login -u $REGISTRY_USER -p $REGISTRY_PASSWD $REGISTRY
- docker build -t $REGISTRY/bin:latest . -f Dockerfile
- docker push $REGISTRY/bin:latest
image: plugins/docker
volumes:
- name: dockersock
path: "/var/run/docker.sock"
settings:
username: droneci
password:
from_secret: REGISTRY_PASSWD
repo: git2.zettoit.eu/zettoit/bin
tags: latest
dockerfile: ./Dockerfile