Skip to content

Commit

Permalink
Merge pull request #13 from cgroschupp/feat/fix-push
Browse files Browse the repository at this point in the history
fix .travis/docker-push.sh script
  • Loading branch information
stuart-warren authored Feb 7, 2020
2 parents 073c3b5 + 9f1930a commit d8cc957
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis/docker-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ performSnykAnalysisIfEnabled() {
snyk monitor --org="${SNYK_ORG}" --docker "${TRAVIS_REPO_SLUG}:${TRAVIS_TAG}"
fi
fi
}

docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS"

Expand All @@ -17,4 +18,4 @@ fi
docker push "${TRAVIS_REPO_SLUG}:latest" && \
docker push "${TRAVIS_REPO_SLUG}:${TRAVIS_COMMIT}"

performSnykAnalysisIfEnabled
performSnykAnalysisIfEnabled

0 comments on commit d8cc957

Please sign in to comment.