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 d2c89e9 commit 8c60b74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ jobs:
# This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels.
- name: Set image name
id: set_image_name
run: echo "target_name=${{ matrix.target }}${{ matrix.target == 'python' && '_${{ matrix.target }}' || '' }}" >> $GITHUB_ENV
run: echo "image_name=${{ matrix.target }}${{ matrix.target == 'python' && '_${{ matrix.target }}' || '' }}" >> $GITHUB_ENV


- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/${{ env.target_name }}
images: ${{ env.REGISTRY }}/${{ env.image_name }}

# 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.
Expand Down

0 comments on commit 8c60b74

Please sign in to comment.