From 0075c521c4feccb7bf91685e30c45f06ea6b2e36 Mon Sep 17 00:00:00 2001 From: lukaskratzel Date: Mon, 18 May 2026 18:09:39 +0200 Subject: [PATCH] Use release tag for Docker image tag --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7aaad346..58696ac4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,7 +59,7 @@ jobs: docker-file: dockerfiles/operator/Dockerfile image-name: eduide/eduide-cloud/operator docker-context: . - image-tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }} + image-tag: ${{ github.event_name == 'release' && github.event.release.tag_name || github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }} execution-mode: ${{ github.event_name == 'workflow_dispatch' && inputs.execution_mode || 'self-hosted-buildkit' }} arc-registry-cache: ${{ github.event_name == 'workflow_dispatch' && inputs.arc_registry_cache || false }} no-cache: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.disable_layer_cache) || false }} @@ -77,7 +77,7 @@ jobs: docker-file: dockerfiles/service/Dockerfile image-name: eduide/eduide-cloud/service docker-context: . - image-tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }} + image-tag: ${{ github.event_name == 'release' && github.event.release.tag_name || github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }} execution-mode: ${{ github.event_name == 'workflow_dispatch' && inputs.execution_mode || 'self-hosted-buildkit' }} arc-registry-cache: ${{ github.event_name == 'workflow_dispatch' && inputs.arc_registry_cache || false }} no-cache: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.disable_layer_cache) || false }} @@ -95,7 +95,7 @@ jobs: docker-file: dockerfiles/conversion-webhook/Dockerfile image-name: eduide/eduide-cloud/conversion-webhook docker-context: . - image-tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }} + image-tag: ${{ github.event_name == 'release' && github.event.release.tag_name || github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }} execution-mode: ${{ github.event_name == 'workflow_dispatch' && inputs.execution_mode || 'self-hosted-buildkit' }} arc-registry-cache: ${{ github.event_name == 'workflow_dispatch' && inputs.arc_registry_cache || false }} no-cache: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.disable_layer_cache) || false }}