From b1cc4c644a2df348b154ed2b7f840537eea3f91b Mon Sep 17 00:00:00 2001 From: Calle Pettersson Date: Mon, 5 Oct 2020 08:08:29 +0200 Subject: [PATCH] Push to new GitHub Container Registry --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 65ef8e9e2..81f11410b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -273,6 +273,7 @@ jobs: ### GitHub # tag with the version only if we have a git tag (new release was pushed) - if [ -n "$TRAVIS_TAG" ]; then travis_retry docker login docker.pkg.github.com -u prymitive -p "${GITHUB_PACKAGES_TOKEN}" && docker tag "${LOCAL_IMAGE}" "docker.pkg.github.com/prymitive/karma/karma:${VERSION}" && travis_retry docker push "docker.pkg.github.com/prymitive/karma/karma:${VERSION}" ; fi + - if [ -n "$TRAVIS_TAG" ]; then travis_retry docker login gchr.io -u prymitive -p "${GITHUB_PACKAGES_TOKEN}" && docker tag "${LOCAL_IMAGE}" "gchr.io/prymitive/karma:${VERSION}" && travis_retry docker push "gchr.io/prymitive/karma:${VERSION}" ; fi - stage: Build and Deploy name: Deploy demo app to Heroku