From 687166508da8cd16b7fe26a8033d4b08c58ff0c3 Mon Sep 17 00:00:00 2001 From: Valera Bronshtein <105710429+valeraBr@users.noreply.github.com> Date: Wed, 20 Sep 2023 15:13:52 +0300 Subject: [PATCH] Update push_to_registry.yml --- .github/workflows/push_to_registry.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/push_to_registry.yml b/.github/workflows/push_to_registry.yml index b1e810e27..4ea2d0dd4 100644 --- a/.github/workflows/push_to_registry.yml +++ b/.github/workflows/push_to_registry.yml @@ -20,11 +20,6 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Get Pull Request Number - run: | - echo "PULL_NUMBER=$(echo "$GITHUB_REF" | awk -F / '{print $3}')" >> $GITHUB_ENV - echo "PULL_NUMBER=$(echo "$GITHUB_REF" )" - shell: bash - name: Build and push uses: docker/build-push-action@v5 env: @@ -34,5 +29,5 @@ jobs: platforms: linux/amd64,linux/arm64 push: true tags: | - memphisos/memphis-qa:${{ github.ref_name}} + memphisos/memphis-qa:latest memphisos/memphis-qa:${{ env.PR_NUMBER }}