diff --git a/.drone.yml b/.drone.yml index 0f24cae..0294c54 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,22 +3,26 @@ type: docker name: chessboard_builder trigger: - branch: - - build_tools event: - - push - - custom + - tag steps: - name: docker image: plugins/docker settings: repo: git.pipsquire.com/djweber12/Chess_Board_Sim - registry: git.pipsquire.com - username: - from_secret: docker_username - password: - from_secret: docker_password + registry: git.pipsquire.com + username: + from_secret: docker_username + password: + from_secret: docker_password + tags: + - latest + - ${DRONE_TAG//"builder-v"} + when: + ref: + include: + - ref/tags/builder-v* ---