Browse Source

add-latest-tag

pull/14/head 1.1.0
fedy95 4 years ago
parent
commit
c9c52d3d15
  1. 1
      .drone.yml

1
.drone.yml

@ -21,6 +21,7 @@ steps:
from_secret: REGISTRY_PASSWORD
commands:
- docker build -t "$REGISTRY"/baseimage-yamllint:"$DRONE_TAG" image -f image/Dockerfile
- docker build -t "$REGISTRY"/baseimage-yamllint:latest image -f image/Dockerfile
- docker login "$REGISTRY" -u"$REGISTRY_USERNAME" -p"$REGISTRY_PASSWORD"
- docker push "$REGISTRY"/baseimage-yamllint:"$DRONE_TAG"
- docker push "$REGISTRY"/baseimage-yamllint:latest