From 5dae6fd2c9213f11f348e12b208caf15bd9ef7b3 Mon Sep 17 00:00:00 2001 From: Alper Rifat Ulucinar Date: Thu, 7 Mar 2024 19:22:38 +0300 Subject: [PATCH] Run "up login" with the UP_TOKEN environment and a PAT instead of "up login -u" Signed-off-by: Alper Rifat Ulucinar (cherry picked from commit 37ae29b134eb82524839567989ec9d0c20f6be4d) --- .github/workflows/provider-publish-service-artifacts.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/provider-publish-service-artifacts.yml b/.github/workflows/provider-publish-service-artifacts.yml index 1f64364..c43483b 100644 --- a/.github/workflows/provider-publish-service-artifacts.yml +++ b/.github/workflows/provider-publish-service-artifacts.yml @@ -87,11 +87,11 @@ jobs: - name: Login to Upbound if: env.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR != '' env: - UP_PASSWORD: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_PSW }} + UP_TOKEN: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_PSW }} run: | curl -fsSLo /tmp/up --create-dirs 'https://cli.upbound.io/stable/${{ env.UP_VERSION }}/bin/linux_amd64/up' && \ chmod +x /tmp/up && \ - /tmp/up login -u ${{ env.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR }} + /tmp/up login - name: Checkout uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4