Skip to content

Commit

Permalink
explicitly push the latest tag to the nightly repo (#7703)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesemery committed Mar 2, 2022
1 parent 8c5e0e8 commit b097f75
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,13 @@ script:
DOCKER_TAG=$(docker images -q | head -n 1);
DATE=$(date +%Y-%m-%d);
DOCKER_NIGHTLY_TAG=broadinstitute/gatk-nightly:$DATE-$(git describe)-NIGHTLY-SNAPSHOT;
DOCKER_NIGHTLY_TAG_LATEST=broadinstitute/gatk-nightly:latest;

echo "Pushing Nightly Docker image";
docker tag $DOCKER_TAG $DOCKER_NIGHTLY_TAG;
docker tag $DOCKER_TAG $DOCKER_NIGHTLY_TAG_LATEST;
docker push $DOCKER_NIGHTLY_TAG;
docker push $DOCKER_NIGHTLY_TAG_LATEST;
fi;

after_success:
Expand Down

0 comments on commit b097f75

Please sign in to comment.