1
0
mirror of https://github.com/cmur2/dyndnsd.git synced 2024-12-22 10:54:23 +01:00

ci: use Github environment files

- fixing vulnerability via https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#environment-files
This commit is contained in:
cn 2020-10-08 12:32:44 +02:00
parent d62bf71820
commit d1c1a98e47

View File

@ -17,7 +17,7 @@ jobs:
- name: Install Trivy - name: Install Trivy
run: | run: |
mkdir -p $GITHUB_WORKSPACE/bin mkdir -p $GITHUB_WORKSPACE/bin
echo "::add-path::$GITHUB_WORKSPACE/bin" echo "$GITHUB_WORKSPACE/bin" >> "$GITHUB_PATH"
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/master/contrib/install.sh | sh -s -- -b $GITHUB_WORKSPACE/bin curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/master/contrib/install.sh | sh -s -- -b $GITHUB_WORKSPACE/bin
- name: Download Trivy DB - name: Download Trivy DB
run: | run: |