Skip to content

Commit

Permalink
Build hannah images without python version
Browse files Browse the repository at this point in the history
  • Loading branch information
cgerum committed Aug 22, 2024
1 parent 1951c9b commit 6f68373
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ jobs:
- 3.10
- 3.11
- 3.12
include:
- image_name: hannah
python_version: 3.12 # THis is ignored


# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
Expand All @@ -70,7 +73,8 @@ jobs:
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/${{ matrix.image_name }}_${{matrix.python_version }}
images: ${{ env.REGISTRY }}/${{ matrix.image_name }}${{ matrix.image_name == 'python' && '_${{ matrix.python_version }}' || '' }}

# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
Expand Down

0 comments on commit 6f68373

Please sign in to comment.