Skip to content

fix (build): Add lib: tqdm #16

fix (build): Add lib: tqdm

fix (build): Add lib: tqdm #16

Workflow file for this run

name: Build I-JEPA image
on:
workflow_dispatch:
push:
paths:
- 'Dockerfile'
- 'requirements.txt'
- '.github/workflows/ijepa-cbuild.yml' # Self-trigger
env:
REGISTRY: ghcr.io
IMAGE_NAME: kutayeroglu/ijepa
VERSION: latest
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache
# - name: Maximize build disk space
# uses: easimon/maximize-build-space@v10
# with:
# root-reserve-mb: 256
# swap-size-mb: 4096
# remove-dotnet: 'true'
# remove-android: 'true'
# remove-haskell: 'true'
# remove-codeql: 'true'
# remove-docker-images: 'true'
- name: Check disk space
run: df -h
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to the registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push image
uses: docker/build-push-action@v4
with:
context: .
build-args: |
VERSION=${{ env.VERSION }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
push: true
# cache-from: type=gha
# cache-to: type=gha,mode=max