Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Fix Docker references
Browse files Browse the repository at this point in the history
  • Loading branch information
solocommand committed Jan 12, 2021
1 parent 47276c6 commit c8a1e3b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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._
Expand Down
4 changes: 2 additions & 2 deletions scripts/deploy-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion scripts/deploy-k8s.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit c8a1e3b

Please sign in to comment.