Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:

steps:
- checkout
- setup_remote_docker
- setup_remote_docker:
docker_layer_caching: true

- run:
name: Build base Docker image ram-tools
Expand Down Expand Up @@ -48,7 +49,8 @@ jobs:

steps:
- checkout
- setup_remote_docker
- setup_remote_docker:
docker_layer_caching: true

- add_ssh_keys:
fingerprints:
Expand Down Expand Up @@ -84,6 +86,9 @@ jobs:
- run:
name: Tag and push Docker image for ram-vt's stable version
command: |
# Grab version from package.json and prepend with ram-analysis-v (ram-analysis-v0.5.0)
VERSION=v$(grep -m1 version ram-vt/package.json | awk -F: '{ print $2 }' | sed 's/[", ]//g')

docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWD

echo Pushing image to Docker Hub with ${VERSION} tag
Expand All @@ -101,7 +106,8 @@ jobs:

steps:
- checkout
- setup_remote_docker
- setup_remote_docker:
docker_layer_caching: true

- add_ssh_keys:
fingerprints:
Expand Down Expand Up @@ -137,6 +143,9 @@ jobs:
- run:
name: Tag and push Docker image for ${DOCKER_IMAGE}'s stable version
command: |
# Grab version from package.json and prepend with ram-analysis-v (ram-analysis-v0.5.0)
VERSION=v$(grep -m1 version ram-analysis/package.json | awk -F: '{ print $2 }' | sed 's/[", ]//g')

docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWD

echo Pushing image to Docker Hub with ${VERSION} tag
Expand Down