From 994ab6add4462c3f8b6d4df682d9312f173041e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20M=C3=A5rtensson?= Date: Tue, 27 Aug 2019 13:14:10 +0200 Subject: [PATCH] chore: updated circleci config --- .circleci/config.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 134c1fb..13b362b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -50,6 +50,12 @@ jobs: command: | echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin docker push sofietv/tv-automation-playout-gateway:$CIRCLE_TAG + - run: + name: Publish Docker Image to Github Package Registry + command: | + echo "$GITHUB_PASS" | docker login docker.pkg.github.com -u "$GITHUB_USERNAME" --password-stdin + docker tag sofietv/tv-automation-playout-gateway:$CIRCLE_TAG docker.pkg.github.com/nrkno/tv-automation-playout-gateway/tv-automation-playout-gateway:$CIRCLE_TAG + docker push docker.pkg.github.com/nrkno/tv-automation-playout-gateway/tv-automation-playout-gateway:$CIRCLE_TAG publish-branch: docker: - image: circleci/buildpack-deps:stretch @@ -67,6 +73,12 @@ jobs: command: | echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin docker push sofietv/tv-automation-playout-gateway:$CIRCLE_BRANCH + - run: + name: Publish Docker Image to Github Package Registry + command: | + echo "$GITHUB_PASS" | docker login docker.pkg.github.com -u "$GITHUB_USERNAME" --password-stdin + docker tag sofietv/tv-automation-playout-gateway:$CIRCLE_BRANCH docker.pkg.github.com/nrkno/tv-automation-playout-gateway/tv-automation-playout-gateway:$CIRCLE_BRANCH + docker push docker.pkg.github.com/nrkno/tv-automation-playout-gateway/tv-automation-playout-gateway:$CIRCLE_BRANCH workflows: version: 2