Skip to content

Commit 66578a5

Browse files
committed
ci: fix build action
1 parent 1c778c4 commit 66578a5

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/ks-interface-release.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
needs:
3333
- prepare
3434
runs-on: ubuntu-latest
35+
env:
36+
SERVICE: kyberswap-interface
37+
VERSION_TAG: ${{ needs.prepare.outputs.version_tag }}
38+
BUILD_DATE: ${{ needs.prepare.outputs.build_date }}
3539
steps:
3640
- name: Checkout
3741
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -40,6 +44,12 @@ jobs:
4044
echo "@kybernetwork:registry=https://npm.pkg.github.com" >> .npmrc
4145
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GH_PAT }}" >> .npmrc
4246
47+
- uses: pnpm/action-setup@v4
48+
name: Install pnpm
49+
with:
50+
version: 8.9.2
51+
run_install: false
52+
4353
- name: Set up Node.js
4454
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
4555
with:
@@ -100,7 +110,8 @@ jobs:
100110
kyber.network.version=${{ env.VERSION_TAG }}
101111
kyber.network.name=${{ env.SERVICE }}
102112
tags: |
103-
${{ needs.prepare.outputs.image_name }}:${{ needs.prepare.outputs.image_tag }}
113+
asia.gcr.io/kyber-operation/core/${{ env.SERVICE }}:latest
114+
asia.gcr.io/kyber-operation/core/${{ env.SERVICE }}:${{ env.VERSION_TAG }}
104115
cache-from: type=local,src=/tmp/.buildx-cache
105116
cache-to: type=local,dest=/tmp/.buildx-cache-new
106117

0 commit comments

Comments
 (0)