Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Only cleanup docker iamges #73

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/cicd-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ on:
required: false
type: boolean
default: false
enableCleanUp:
enableCleanUpDockerDocker:
required: false
type: boolean
default: false
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
uses: ./.github/workflows/step-dotnet-tests.yml
with:
enableSonarQube: ${{ inputs.enableSonarQube || false }}
enableCleanUp: ${{ inputs.enableCleanUp || false }}
enableCleanUpDockerDocker: ${{ inputs.enableCleanUpDockerDocker || false }}
disableCoverageUpload: ${{ inputs.disableCoverageUpload || false }}
dotnet-logging: ${{ inputs.dotnet-logging || 'quiet' }}
dotnet-version: ${{ inputs.dotnet-version || '8.x' }}
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/step-dotnet-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
required: false
type: boolean
default: false
enableCleanUp:
enableCleanUpDockerDocker:
required: false
type: boolean
default: false
Expand Down Expand Up @@ -68,17 +68,11 @@ jobs:
# multiple runners. However, we need to keep in mind that running too many
# simultaneous builds has an impact on others as well. We observed that scheduled
# Dependabot builds blocked others in the Testcontainers organization.
- name: Free Disk Space
- name: Free Disk Space - Docker Images
uses: jlumbroso/[email protected]
if: ${{ inputs.enableCleanUp == true && runner.os == 'Linux' }}
if: ${{ inputs.enableCleanUpDockerDocker == true && runner.os == 'Linux' }}
with:
tool-cache: true
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: false

- name: Setup .NET
uses: actions/setup-dotnet@v4
Expand Down