Skip to content

Commit fa0ffe6

Browse files
committed
feat(ci): separate build pipeline and add mysecret binary
1 parent 2406658 commit fa0ffe6

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,34 @@ on:
77
pull_request:
88

99
jobs:
10+
mysecret:
11+
name: Build docker-mysecret Plugin
12+
runs-on: ubuntu-latest
13+
permissions:
14+
id-token: write
15+
pull-requests: write
16+
contents: write
17+
18+
steps:
19+
- name: Checkout code
20+
uses: actions/checkout@v4
21+
22+
- name: Hub login
23+
uses: docker/login-action@v3
24+
with:
25+
username: ${{ vars.DOCKERBUILDBOT_USERNAME }}
26+
password: ${{ secrets.DOCKERBUILDBOT_WRITE_PAT }}
27+
28+
- name: Set up Docker Buildx
29+
id: buildx
30+
uses: docker/setup-buildx-action@v3
31+
with:
32+
driver: cloud
33+
endpoint: "docker/secrets-engine"
34+
install: true
35+
36+
- name: Build docker-mysecret Plugin
37+
run: make BUILDER=${{ steps.buildx.outputs.name }} mysecret-cross
1038

1139
nri-plugin:
1240
name: Build NRI Plugin

0 commit comments

Comments
 (0)