Skip to content

Commit

Permalink
Fix image tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan971 committed Jan 11, 2025
1 parent 2e437fd commit 7f48aa2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
DOCKER_REGISTRY: "ghcr.io"
DOCKER_IMAGE: "${{ needs.set_variables.outputs.docker_image }}"
DOCKER_TARGET: "hotspot"
DOCKER_TAG_CANONICAL: "${{ needs.set_variables.outputs.build_version }}-hotspot"
DOCKER_TAG_CANONICAL: "${{ needs.set_variables.outputs.build_version }}"
DOCKER_TAG_SHORT: "${{ needs.set_variables.outputs.image_version_short }}"

build_graal:
Expand Down Expand Up @@ -158,5 +158,5 @@ jobs:
DOCKER_REGISTRY: "ghcr.io"
DOCKER_IMAGE: "${{ needs.set_variables.outputs.docker_image }}"
DOCKER_TARGET: "graal"
DOCKER_TAG_CANONICAL: "${{ needs.set_variables.outputs.build_version }}-hotspot"
DOCKER_TAG_CANONICAL: "${{ needs.set_variables.outputs.build_version }}"
DOCKER_TAG_SHORT: "${{ needs.set_variables.outputs.image_version_short }}"
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ jobs:
with:
images: "${{ inputs.DOCKER_REGISTRY }}/${{ inputs.DOCKER_IMAGE }}"
tags: |
type=raw,event=push,enable=true,value=${{ inputs.DOCKER_TAG_CANONICAL }}
type=raw,event=push,enable={{ is_default_branch }},value=${{ inputs.DOCKER_TAG_SHORT }}
type=raw,event=push,enable=true,value=${{ inputs.DOCKER_TAG_CANONICAL }}-${{ inputs.DOCKER_TARGET }}
type=raw,event=push,enable={{ is_default_branch }},value=${{ inputs.DOCKER_TAG_SHORT }}-${{ inputs.DOCKER_TARGET }}
- name: "Build and push Docker image"
uses: "docker/build-push-action@v5"
with:
Expand Down

0 comments on commit 7f48aa2

Please sign in to comment.