Update Dockerfile #18
Workflow file for this run
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: Container CI | |
on: | |
push: | |
# branches: [main] | |
pull_request: | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Maximize build disk space | |
uses: easimon/maximize-build-space@v10 | |
with: | |
# Reserve ~35 GBs for docker cache on / location | |
root-reserve-mb: 35000 | |
swap-size-mb: 1024 | |
remove-dotnet: true | |
remove-android: true | |
remove-haskell: true | |
remove-codeql: true | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Get Repo Owner | |
id: get_repo_owner | |
run: echo "name=repo_owner::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT" | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.DOCKER_TOKEN }} | |
- name: Delete huge unnecessary tools folder and large packages | |
run: | | |
rm -rf /opt/hostedtoolcache && | |
curl -fsSL https://raw.githubusercontent.com/apache/flink/02d30ace69dc18555a5085eccf70ee884e73a16e/tools/azure-pipelines/free_disk_space.sh | bash | |
- name: Integration Test | |
uses: dagger/dagger-for-github@v6 | |
with: | |
workdir: ci | |
verb: call | |
args: >- | |
--commit-id="$(git rev-parse --verify HEAD)" | |
build-container --context=.. --dockerfile=../env-files/torch/Dockerfile | |
test-n-publish --kubeconfig=env:KUBECONFIG_STR | |
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }} | |
version: "latest" | |
env: | |
KUBECONFIG_STR: ${{ secrets.KUBECONFIG_INFN }} |