From 0c245a5cb9f2a8e7e9cfc5031c6d84df9961c432 Mon Sep 17 00:00:00 2001 From: Daniel Sonck Date: Thu, 11 Jul 2024 02:50:49 +0200 Subject: [PATCH] ci: fix idp and language pipeline --- .github/workflows/build-idp.yml | 4 ++-- .github/workflows/build-language.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-idp.yml b/.github/workflows/build-idp.yml index ec4bab0d1..30fcde185 100644 --- a/.github/workflows/build-idp.yml +++ b/.github/workflows/build-idp.yml @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Prepare input branch - if: ${{ github.event.inputs.branch != "" }} + if: ${{ github.event.inputs.branch != '' }} run: echo "branch=refs/heads/${{ github.event.inputs.branch }}" >> $GITHUB_ENV - name: Checkout Repository @@ -72,7 +72,7 @@ jobs: - name: Set the tag on workflow dispatch if: ${{ github.ref_type != 'tag' }} - run: echo "TAGS=$(git rev-parse --short HEAD)" >> $GITHUB_ENV + run: echo "TAGS=voltaserve/idp:$(git rev-parse --short HEAD)" >> $GITHUB_ENV - name: Build and Push Docker Image uses: docker/build-push-action@v5 diff --git a/.github/workflows/build-language.yml b/.github/workflows/build-language.yml index 8a0893958..a8fd69a67 100644 --- a/.github/workflows/build-language.yml +++ b/.github/workflows/build-language.yml @@ -36,7 +36,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Prepare input branch - if: ${{ github.event.inputs.branch != "" }} + if: ${{ github.event.inputs.branch != '' }} run: echo "branch=refs/heads/${{ github.event.inputs.branch }}" >> $GITHUB_ENV - name: Checkout Repository @@ -77,7 +77,7 @@ jobs: - name: Set the tag on workflow dispatch if: ${{ github.ref_type != 'tag' }} - run: echo "TAGS=$(git rev-parse --short HEAD)" >> $GITHUB_ENV + run: echo "TAGS=voltaserve/language:$(git rev-parse --short HEAD)" >> $GITHUB_ENV - name: Build and Push Docker Image uses: docker/build-push-action@v5