Fixed tagging.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
michael 2020-05-28 12:54:01 -05:00
parent 90b64c2e68
commit bb0f605fc7
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ steps:
password: password:
from_secret: registry_password from_secret: registry_password
repo: registry.thegibsonhome.net/protonmail-bridge repo: registry.thegibsonhome.net/protonmail-bridge
tags: ${DRONE_COMMIT} tags: ${DRONE_TAG}
trigger: trigger:
event: event:
- tag - tag

View file

@ -12,7 +12,7 @@ WORKDIR /usr/src
ARG TAG ARG TAG
RUN git clone https://github.com/ProtonMail/proton-bridge.git proton-bridge \ RUN git clone https://github.com/ProtonMail/proton-bridge.git proton-bridge \
&& cd proton-bridge \ && cd proton-bridge \
&& if [ -n "$TAG" ]; then git checkout tags/$TAG; fi \ && if [ -n "$TAG" ]; then echo "Using tags/$TAG..."; git checkout tags/$TAG; fi \
&& make build-nogui && make build-nogui
# Create a container for the ProtonMail Bridge. # Create a container for the ProtonMail Bridge.