From c8a1e3b61734d3c0aac29ed36501a0ed83795c48 Mon Sep 17 00:00:00 2001 From: Josh Worden Date: Tue, 12 Jan 2021 13:46:20 -0600 Subject: [PATCH] Fix Docker references --- README.md | 6 +++--- scripts/deploy-image.sh | 4 ++-- scripts/deploy-k8s.sh | 2 +- scripts/deploy.js | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c5507bc22..0122a2e74 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # BaseCMS -[![Build Status](https://img.shields.io/travis/base-cms/base-cms.svg)](https://travis-ci.org/base-cms/base-cms) -[![Docker Pulls](https://img.shields.io/docker/pulls/basecms/base-cms.svg?)](https://hub.docker.com/r/basecms/base-cms/) -[![Image Size](https://img.shields.io/microbadger/image-size/basecms/base-cms/latest.svg)](https://microbadger.com/images/basecms/base-cms) +[![Build Status](https://img.shields.io/travis/com/parameter1/base-cms.svg)](https://travis-ci.org/parameter1/base-cms) +![GitHub branch checks state](https://img.shields.io/github/checks-status/parameter1/base-cms/master) +![Github lerna version](https://img.shields.io/github/lerna-json/v/parameter1/base-cms) ## Usage _This repository requires Docker Engine 18.06.0 or greater as Compose file format 3.7 is used._ diff --git a/scripts/deploy-image.sh b/scripts/deploy-image.sh index 3b2695aa8..fcf872ecc 100755 --- a/scripts/deploy-image.sh +++ b/scripts/deploy-image.sh @@ -12,6 +12,6 @@ docker build -t "$1:$2" --build-arg SERVICE=$1 . mv ../services/* services/ rm -rf ../services -docker tag "$1:$2" "${DOCKER_ORG-basecms}/$1:$2" -docker push "${DOCKER_ORG-basecms}/$1:$2" +docker tag "$1:$2" "${DOCKER_ORG-parameter1}/$1:$2" +docker push "${DOCKER_ORG-parameter1}/$1:$2" docker image rm "$1:$2" diff --git a/scripts/deploy-k8s.sh b/scripts/deploy-k8s.sh index 5ba74cac0..ee5323b1e 100755 --- a/scripts/deploy-k8s.sh +++ b/scripts/deploy-k8s.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e -IMAGE=${DOCKER_ORG-basecms}/$1:$2 +IMAGE=${DOCKER_ORG-parameter1}/$1:$2 npx @endeavorb2b/rancher2cli dl basecms-service $1 $IMAGE diff --git a/scripts/deploy.js b/scripts/deploy.js index 81c5dc2b2..8b751e015 100755 --- a/scripts/deploy.js +++ b/scripts/deploy.js @@ -21,7 +21,7 @@ const lerna = require('../lerna.json'); const { log } = console; const { TRAVIS_TAG } = process.env; -const DOCKER_ORG = process.env.DOCKER_ORG || 'basecms'; +const DOCKER_ORG = process.env.DOCKER_ORG || 'parameter1'; const version = `v${lerna.version}`; const service = process.argv[2];