Skip to content

Commit

Permalink
Update checkout action to fetch full history
Browse files Browse the repository at this point in the history
Set `fetch-depth` to 0 in GitHub Actions workflows for docker-stable and docker-features. This ensures that the full git history is available for subsequent steps.

Signed-off-by: Christian Roessner <[email protected]>
  • Loading branch information
Christian Roessner committed Sep 4, 2024
1 parent 933bff5 commit 556c2f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-features.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docker-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down

0 comments on commit 556c2f5

Please sign in to comment.