Skip to content

Commit

Permalink
Update config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan faircloth committed Aug 27, 2019
1 parent baf2dbd commit 364d946
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ jobs:

publish-version:
machine:
image: ubuntu-1604:201903-01
#image: ubuntu-1604:201903-01
image: buildpack-deps:latest
docker_layer_caching: true # default - false
environment:
IMAGE_NAME: rfaircloth/scs
Expand All @@ -225,22 +226,15 @@ jobs:
- run:
name: Docker pull
command: docker pull $IMAGE_NAME:$CIRCLE_SHA1
- run:
command: |
ls -la
git status
docker run --rm -v "$(pwd):/repo" gittools/gitversion:latest-linux-netcoreapp2.1 /repo /showvariable SemVer /nofetch
- run:
name: Docker tag image
command: |
SEMVER=$(docker run --rm -v "$(pwd):/repo" gittools/gitversion:latest-linux-netcoreapp2.1 /repo /showvariable SemVer /nofetch)
echo $SEMVER
docker tag $IMAGE_NAME:$CIRCLE_SHA1 splunk/scs:$SEMVER
- run:
name: Docker push tag
command: |
SEMVER=$(docker run --rm -v "$(pwd):/repo" gittools/gitversion:latest-linux-netcoreapp2.1 /repo /showvariable SemVer /nofetch)
echo $SEMVER
docker push splunk/scs:$SEMVER
publish-latest:
environment:
Expand Down

0 comments on commit 364d946

Please sign in to comment.