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 }}