From ab89fcb83810cbef2f14b67e216dd733c6ca9a30 Mon Sep 17 00:00:00 2001 From: Eduard Schander <66794307+EddeCCC@users.noreply.github.com> Date: Wed, 21 Feb 2024 08:49:00 +0100 Subject: [PATCH] fix docker tag (#51) --- .github/workflows/eumserver_release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/eumserver_release.yml b/.github/workflows/eumserver_release.yml index 8b50c17..5d0a946 100644 --- a/.github/workflows/eumserver_release.yml +++ b/.github/workflows/eumserver_release.yml @@ -77,9 +77,9 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build Docker Images - run: ./gradlew dockerTag -PbuildVersion=2.5.6 + run: ./gradlew dockerTag -PbuildVersion=${{ github.ref_name }} - name: Push Docker Images run: | docker login -u ${{ secrets.DOCKER_HUB_USER }} -p ${{ secrets.DOCKER_HUB_PASSWORD }} - docker push inspectit/inspectit-ocelot-eum-server:2.5.6 + docker push inspectit/inspectit-ocelot-eum-server:${{ github.ref_name }} docker push inspectit/inspectit-ocelot-eum-server:latest