Skip to content

Commit bec95b8

Browse files
author
Radek Forgač
committed
cicd
1 parent b2c4944 commit bec95b8

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -257,13 +257,13 @@ jobs:
257257
version: ${{ env.DOCKER_BUILDX_VERSION }}
258258
install: true
259259

260-
- name: Login to Upbound
261-
uses: docker/login-action@v2
262-
if: env.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR != ''
263-
with:
264-
registry: xpkg.upbound.io
265-
username: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR }}
266-
password: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_PSW }}
260+
# - name: Login to Upbound
261+
# uses: docker/login-action@v2
262+
# if: env.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR != ''
263+
# with:
264+
# registry: xpkg.upbound.io
265+
# username: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR }}
266+
# password: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_PSW }}
267267

268268
- name: Checkout
269269
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 #v3
@@ -313,4 +313,8 @@ jobs:
313313
path: _output/**
314314

315315
- name: Publish Artifacts
316-
run: make publish BRANCH_NAME=${GITHUB_REF##*/}
316+
run: |
317+
curl -sL "https://cli.upbound.io" | sh
318+
sudo mv up /usr/local/bin/
319+
up login -u ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR }} -p ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_PSW }}
320+
make publish BRANCH_NAME=${GITHUB_REF##*/}

0 commit comments

Comments
 (0)