From 392d0e929b5633a251cc57ce223c296af59f6096 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 16 Mar 2021 21:03:19 +0100 Subject: [PATCH] Fix access to needs.init.outputs.publish (#2728) * Fix access to needs.init.outputs.publish * Update Dockerfile --- .github/workflows/builder.yml | 3 ++- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 \