Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

Tag each docker build with a unique id, and push to dockerhub #4

Merged
merged 1 commit into from
Feb 29, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docker/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
docker login -u pypywheels -p $DOCKERPASS
tag=pypywheels/manylinux2010-pypy_x86_64
build_id=$(git show -s --format=%cd-%h --date=short $TRAVIS_COMMIT)

docker login -u pypywheels -p $DOCKERPASS
docker tag ${tag}:latest ${tag}:${build_id}
docker push ${tag}:${build_id}
docker push ${tag}:latest