diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 706b0e0..4bdcab7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,3 @@ ---- name: build-bluecat on: pull_request: @@ -28,13 +27,12 @@ jobs: runs-on: ubuntu-24.04 strategy: matrix: - variant: [amd, nvidia] + variant: [amd, nvidia] # Define the two variants env: VARIANT: ${{ matrix.variant }} CONTAINERFILE: ${{ matrix.variant == 'amd' && './Containerfile' || './Containerfile-Nvidia' }} IMAGE_NAME_SUFFIX: ${{ matrix.variant == 'nvidia' && '-nvidia' || '' }} - permissions: contents: read packages: write @@ -82,10 +80,10 @@ jobs: id: meta with: images: | - ${{ env.MY_IMAGE_NAME }}-${{ env.IMAGE_NAME_SUFFIX }} + ${{ env.MY_IMAGE_NAME }}${{ env.IMAGE_NAME_SUFFIX }} labels: | org.opencontainers.image.description=${{ env.MY_IMAGE_DESC }} - org.opencontainers.image.title=${{ env.MY_IMAGE_NAME }}-${{ env.IMAGE_NAME_SUFFIX }} + org.opencontainers.image.title=${{ env.MY_IMAGE_NAME }}${{ env.IMAGE_NAME_SUFFIX }} - name: Build Image id: build_image @@ -93,7 +91,7 @@ jobs: with: containerfiles: | ${{ env.CONTAINERFILE }} - image: ${{ env.MY_IMAGE_NAME }}-${{ env.IMAGE_NAME_SUFFIX }} + image: ${{ env.MY_IMAGE_NAME }}${{ env.IMAGE_NAME_SUFFIX }} tags: | ${{ steps.generate-tags.outputs.alias_tags }} labels: ${{ steps.meta.outputs.labels }}