From a4595ce6e366d5bc842875a34dde0071c4ae6ae7 Mon Sep 17 00:00:00 2001 From: Leif Battermann Date: Thu, 14 Mar 2024 15:34:51 +0000 Subject: [PATCH] update gh action --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fea6451..705701e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,7 @@ on: branches: [master] tags: - 'v*' + workflow_dispatch: # INFO: The following configuration block ensures that only one build runs per branch, # which may be desirable for projects with a costly build process. @@ -86,9 +87,11 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set output + - name: Set tag output id: vars - run: echo ::set-output name=tag::${GITHUB_REF#refs/*/v} + run: echo "tag=${GITHUB_REF#refs/*/v}" >> $GITHUB_OUTPUT + - name: Check tag + run: echo ${{ steps.vars.outputs.tag }} - name: Build Image id: build-image @@ -105,7 +108,7 @@ jobs: uses: redhat-actions/push-to-registry@v2 with: image: ${{ steps.build-image.outputs.image }} - tags: ${{ steps.build-image.outputs.tags }} latest + tags: ${{ steps.build-image.outputs.tags }} registry: quay.io/wire username: wire+ldapscimbridge password: ${{ secrets.REGISTRY_PASSWORD }}