use defaults setting for disk cleaner #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: integration-tests | |
on: | |
push: | |
#branches: [main,next,next2next] | |
pull_request: | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
# - name: Delete huge unnecessary tools folder | |
# run: | | |
# rm -rf /opt/hostedtoolcache && | |
# curl -fsSL https://raw.githubusercontent.com/apache/flink/02d30ace69dc18555a5085eccf70ee884e73a16e/tools/azure-pipelines/free_disk_space.sh | bash | |
# - name: Maximize build disk space | |
# uses: easimon/maximize-build-space@v10 | |
# with: | |
# remove-dotnet: true | |
# remove-android: true | |
# remove-haskell: true | |
# remove-codeql: true | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Maximize build disk space | |
uses: easimon/maximize-build-space@v10 | |
# with: | |
# remove-dotnet: true | |
# remove-android: true | |
# remove-haskell: true | |
# remove-codeql: true | |
- name: Get Repo Owner | |
id: get_repo_owner | |
run: echo ::set-output name=repo_owner::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]') | |
- name: Log in to registry | |
run: echo "${{ secrets.DOCKER_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin | |
- name: Integration Test | |
uses: dagger/dagger-for-github@v6 | |
with: | |
workdir: ci | |
verb: call | |
args: build-container --context=.. --dockerfile=../env-files/torch/Dockerfile publish | |
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }} | |
version: "latest" |