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

Commit

Permalink
chore: updated circleci config
Browse files Browse the repository at this point in the history
  • Loading branch information
martensson committed Aug 27, 2019
1 parent 6fa5cef commit 994ab6a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 994ab6a

Please sign in to comment.