Skip to content

Commit

Permalink
Add a stable tagged image
Browse files Browse the repository at this point in the history
This will correspond to to tagged versions for Marge, so users will be
able to use the latest versioned update automatically.
  • Loading branch information
JaimeLennox committed Oct 14, 2018
1 parent 389f10e commit 3f973b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ docker-push:
docker login; \
fi
docker tag smarkets/marge-bot:$(VERSION) smarkets/marge-bot:latest
if [ "$(VERSION)" = "$$(cat version)" ]; then \
docker tag smarkets/marge-bot:$(VERSION) smarkets/marge-bot:stable; \
docker push smarkets/marge-bot:stable; \
fi
docker push smarkets/marge-bot:$(VERSION)
docker push smarkets/marge-bot:latest
# for backwards compatibility push to previous location
Expand Down

0 comments on commit 3f973b0

Please sign in to comment.