Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Feb 12, 2020
1 parent a1b0d42 commit 301f580
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ script:
# scan container image need to workaround for issue (https://github.com/aquasecurity/trivy/issues/198)
- docker images
- docker save container-security:${COMMIT} -o container-security-${COMMIT}.tar
- trivy --exit-code 0 --severity HIGH --no-progress --input container-security-${COMMIT}.tar
- trivy --exit-code 1 --severity CRITICAL --no-progress --input container-security-${COMMIT}.tar
#- trivy --exit-code 0 --severity HIGH --no-progress --input container-security-${COMMIT}.tar
#- trivy --exit-code 1 --severity CRITICAL --no-progress --input container-security-${COMMIT}.tar

cache:
directories:
Expand Down
4 changes: 3 additions & 1 deletion ch01/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ COPY ./ch01/composer_laravel.lock /php-app/composer.lock
COPY ./ch01/Gemfile_rails.lock /ruby-app/Gemfile.lock
COPY ./ch01/package-lock_react.json /node-app/package-lock.json
COPY ./ch01/Pipfile.lock /python-app/Pipfile.lock
COPY ./ch01/Cargo.lock /rust-app/Cargo.lock
COPY ./ch01/Cargo.lock /rust-app/Cargo.lock

EXPOSE 80000

0 comments on commit 301f580

Please sign in to comment.