diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7f010a1..71ff0d3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -265,6 +265,7 @@ jobs: context: . file: ./Dockerfile push: true + load: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} platforms: linux/amd64 @@ -283,21 +284,11 @@ jobs: env: BEAKER_TOKEN: ${{ secrets.BEAKER_TOKEN }} run: | - # Get version VERSION=${{ steps.meta.outputs.version }} - - # Get the image ID for the versioned tag - IMAGE_ID=$(docker images --format "{{.Repository}}:{{.Tag}} {{.ID}}" | grep "alleninstituteforai/olmocr:$VERSION" | awk '{print $2}') - - if [ -z "$IMAGE_ID" ]; then - echo "ERROR: Could not find image ID for tag alleninstituteforai/olmocr:$VERSION" - exit 1 - fi - - # Push the Docker image to Beaker using the image ID - beaker image create "$IMAGE_ID" \ + beaker image create \ --name "olmocr-inference-$VERSION" \ - --workspace ai2/olmocr + --workspace ai2/olmocr \ + alleninstituteforai/olmocr:$VERSION - name: Clean up after build if: always() diff --git a/olmocr/version.py b/olmocr/version.py index f5036aa..b6346ab 100644 --- a/olmocr/version.py +++ b/olmocr/version.py @@ -2,7 +2,7 @@ _MAJOR = "0" _MINOR = "1" # On main and in a nightly release the patch should be one ahead of the last # released build. -_PATCH = "73" +_PATCH = "74" # This is mainly for nightly builds which have the suffix ".dev$DATE". See # https://semver.org/#is-v123-a-semantic-version for the semantics. _SUFFIX = ""