~gagbo/rustpad

86f34a8a6a2a3979d887538f9c1b2e57b515e8d1 — Gerry Agbobada 4 months ago 84da489
Fix piston-latest pushing condition with tags
1 files changed, 1 insertions(+), 1 deletions(-)

M .builds/main.yml
M .builds/main.yml => .builds/main.yml +1 -1
@@ 18,5 18,5 @@ tasks:
  - deploy: |
      cd rustpad
      git fetch
      [ `git name-rev --name-only HEAD` == "gagbo_piston" ] && docker push gagbo/rustpad:piston-latest || echo "Skipping docker push for $(git name-rev --name-only HEAD)"
      [ `git rev-parse HEAD` == `git rev-parse origin/gagbo_piston` ] && docker push gagbo/rustpad:piston-latest || echo "Skipping docker push for $(git name-rev --name-only HEAD) (head of gagbo_piston branch is $(git rev-parse origin/gagbo_piston))"
      [ `git describe --exact-match` != "" ] && docker push gagbo/rustpad:piston-$(git describe --exact-match) || echo "Not pushing tagged version"