diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 8a1ec0d..7316c8d 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -13,6 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Build the Docker image run: docker build . --file Dockerfile --tag voruti/discordlanguagegaming:$(date +%s) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d7ccd34..9afaf66 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: outputs: on_main: ${{ steps.contains_tag.outputs.retval }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - uses: rickstaa/action-contains-tag@fix_action_retval @@ -27,7 +27,10 @@ jobs: steps: # --- from docker-image.yml --- - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Build the Docker image run: docker build . --file Dockerfile --tag voruti/discordlanguagegaming:$(date +%s) # --- from docker-image.yml ---