diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a0a585..41bf824 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,8 +53,8 @@ jobs: - run: make build.init - - name: Login to Upbound via up - run: .cache/tools/linux_x86_64/up-v0.18.0 login -t ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_PSW }} + - name: Login to Upbound via up login + run: make upbound.login TOKEN=${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_PSW }} - run: .cache/tools/linux_x86_64/up-v0.18.0 --help - run: .cache/tools/linux_x86_64/up-v0.18.0 profile list diff --git a/Makefile b/Makefile index 376c0d9..a62a6c0 100644 --- a/Makefile +++ b/Makefile @@ -163,6 +163,9 @@ run: go.build @# To see other arguments that can be provided, run the command with --help instead UPBOUND_CONTEXT="local" $(GO_OUT_DIR)/provider --debug +upbound.login: + @$(UP) login -t $(TOKEN) + # ==================================================================================== # End to End Testing CROSSPLANE_NAMESPACE = upbound-system