Skip to content

Commit

Permalink
chore: update circleci to use new docker auth
Browse files Browse the repository at this point in the history
* required dep updates

Issue mozilla-services/services-engineering#71
  • Loading branch information
jrconlin committed Oct 13, 2020
1 parent 9b93817 commit fabe495
Show file tree
Hide file tree
Showing 3 changed files with 2,137 additions and 2,012 deletions.
15 changes: 14 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@

version: 2.1

defaults:
docker_login: &docker_login
run:
name: Login to Dockerhub
command: |
if [ "${DOCKER_USER}" == "" ] || [ "${DOCKER_PASS}" == "" ]; then
echo "Skipping Login to Dockerhub, no credentials."
else
echo "${DOCKER_PASS}" | docker login -u="${DOCKER_USER}" --password-stdin
fi
jobs:
audit:
docker:
Expand All @@ -22,7 +33,9 @@ jobs:
rustc --version
cargo install cargo-audit
- run:
command: cargo audit
# ignoring RUSTSEC-2020-0041 -> sentry fix not yet available
# ignoring RUSTSEC-2020-0049 -> fix is beta code
command: cargo audit --ignore RUSTSEC-2020-0041 --ignore RUSTSEC-2020-0049

test:
docker:
Expand Down
Loading

0 comments on commit fabe495

Please sign in to comment.