diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index f324bfbaa..97e94245f 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -12,7 +12,9 @@ jobs: env: IMAGE: docker.io/${{ github.repository }} steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + with: + fetch-depth: "0" - name: Set image version latest if: github.ref == 'refs/heads/master' run: echo ::set-env name=VERSION::latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ae2f8373..42d89db23 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,9 +38,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + fetch-depth: "0" - name: Build image - env: - VERSION: v0.0.0+test run: make docker build-component-test: runs-on: ubuntu-latest