diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 645d90b25..f75ffe8e3 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -138,10 +138,11 @@ jobs: codenotary: name: CodeNotary signature - needs: build + needs: init runs-on: ubuntu-latest steps: - name: Checkout the repository + if: needs.init.outputs.publish == 'true' uses: actions/checkout@v2 with: fetch-depth: 0 diff --git a/Dockerfile b/Dockerfile index acbfa0bef..2d9ba1fd7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,7 +47,7 @@ RUN \ exit 1; \ fi \ \ - && rm -rf /root/go \ + && rm -rf /root/go /root/.cache \ && mv vcn /usr/bin/vcn \ \ && apk del .build-dependencies \