Update .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sthope 2024-05-27 18:23:29 +02:00
parent 81fc243ba8
commit 996ca486c4

View File

@ -3,6 +3,21 @@ type: docker
name: default
steps:
- name: build
image: plugins/docker
settings:
repo: sthopeless/my-nginx-website
tags:
- latest
- ${DRONE_COMMIT_SHA}
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: Dockerfile
dry_run: true
purge: true
- name: publish
image: plugins/docker
settings:
@ -14,6 +29,9 @@ steps:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: Dockerfile
dry_run: true
purge: true
when:
event:
- push