mirror of
https://github.com/docker/build-push-action.git
synced 2025-05-07 14:09:30 +02:00
*: move to grpc backed communication for the agent
This commit is contained in:
parent
c7c50538d0
commit
d43ee61bb7
10 changed files with 144 additions and 128 deletions
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
@ -8,6 +8,16 @@ jobs:
|
|||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '16'
|
||||
- uses: bufbuild/buf-setup-action@v1
|
||||
with:
|
||||
github_token: ${{ github.token }}
|
||||
- name: Configure npm for buf registry
|
||||
env:
|
||||
BUF_TOKEN: ${{ secrets.BUF_TOKEN }}
|
||||
run: |
|
||||
npm config set @buf:registry https://buf.build/gen/npm/v1/
|
||||
npm config set //buf.build/gen/npm/v1/:_authToken $BUF_TOKEN
|
||||
- run: npm ci
|
||||
- run: npm install @buf/blacksmith_vm-agent.connectrpc_es@latest
|
||||
- run: npm run build
|
||||
- run: npm test
|
||||
- run: npm test
|
12
.github/workflows/verify-build.yml
vendored
12
.github/workflows/verify-build.yml
vendored
|
@ -21,9 +21,21 @@ jobs:
|
|||
node-version: '16'
|
||||
cache: 'npm'
|
||||
|
||||
- uses: bufbuild/buf-setup-action@v1
|
||||
with:
|
||||
github_token: ${{ github.token }}
|
||||
|
||||
- name: Configure npm for buf registry
|
||||
env:
|
||||
BUF_TOKEN: ${{ secrets.BUF_TOKEN }}
|
||||
run: |
|
||||
npm config set @buf:registry https://buf.build/gen/npm/v1/
|
||||
npm config set //buf.build/gen/npm/v1/:_authToken $BUF_TOKEN
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
npm ci
|
||||
npm install @buf/blacksmith_vm-agent.connectrpc_es@latest
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue