Skip to content

Commit e4dc2e7

Browse files
Add repo mention type to workbenches (#3971)
Co-authored-by: blacksmith-sh[bot] <157653362+blacksmith-sh[bot]@users.noreply.github.com>
1 parent 06d812f commit e4dc2e7

154 files changed

Lines changed: 2677 additions & 568 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/agentk-cd.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
test:
1818
name: Unit test
19-
runs-on: ubuntu-latest
19+
runs-on: blacksmith-4vcpu-ubuntu-2404
2020
permissions:
2121
contents: 'read'
2222
defaults:
@@ -61,8 +61,10 @@ jobs:
6161
uses: docker/metadata-action@v5
6262
with:
6363
images: ${{ env.REGISTRY_IMAGE }}
64-
- name: Set up Docker Buildx
65-
uses: docker/setup-buildx-action@v3
64+
- name: Setup Blacksmith Builder
65+
uses: useblacksmith/setup-docker-builder@v2
66+
with:
67+
cache-key: go/kubernetes-agent/hack/docker/Dockerfile.agentk
6668
- name: Login to GHCR
6769
uses: docker/login-action@v3
6870
with:
@@ -76,16 +78,14 @@ jobs:
7678
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
7779
- name: Build and push by digest
7880
id: build
79-
uses: docker/build-push-action@v6
81+
uses: useblacksmith/build-push-action@v2
8082
with:
8183
context: go
8284
file: go/kubernetes-agent/hack/docker/Dockerfile.agentk
8385
tags: ${{ env.REGISTRY_IMAGE }}
8486
labels: ${{ steps.meta.outputs.labels }}
8587
platforms: ${{ matrix.platforms.platform }}
8688
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
87-
cache-from: type=gha
88-
cache-to: type=gha,mode=max
8989
build-args: |
9090
GIT_COMMIT=${{ github.sha }}
9191
VERSION=${{ steps.meta.outputs.version }}
@@ -106,7 +106,7 @@ jobs:
106106
publish:
107107
name: Publish image
108108
needs: [image]
109-
runs-on: ubuntu-latest
109+
runs-on: blacksmith-4vcpu-ubuntu-2404
110110
permissions:
111111
contents: 'read'
112112
packages: 'write'
@@ -128,8 +128,8 @@ jobs:
128128
with:
129129
username: mjgpluralsh
130130
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
131-
- name: Set up Docker Buildx
132-
uses: docker/setup-buildx-action@v3
131+
- name: Setup Blacksmith Builder
132+
uses: useblacksmith/setup-docker-builder@v1
133133
- name: Docker meta
134134
id: meta
135135
uses: docker/metadata-action@v5

.github/workflows/agentk-ci.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@ jobs:
5858
type=ref,event=pr
5959
type=ref,event=branch
6060
type=raw,value=latest,enable={{is_default_branch}}
61-
- name: Set up Docker Buildx
62-
uses: docker/setup-buildx-action@v3
61+
- name: Setup Blacksmith Builder
62+
uses: useblacksmith/setup-docker-builder@v2
63+
with:
64+
cache-key: go/kubernetes-agent/hack/docker/Dockerfile.agentk
6365
- name: Login to Container registry
6466
uses: docker/login-action@v3
6567
with:
@@ -68,15 +70,13 @@ jobs:
6870
password: ${{ secrets.GITHUB_TOKEN }}
6971
- name: Build and push by digest
7072
id: build
71-
uses: docker/build-push-action@v6
73+
uses: useblacksmith/build-push-action@v2
7274
with:
7375
context: go
7476
file: go/kubernetes-agent/hack/docker/Dockerfile.agentk
7577
labels: ${{ steps.meta.outputs.labels }}
7678
platforms: ${{ matrix.platforms.platform }}
7779
outputs: type=image,name=ghcr.io/${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
78-
cache-from: type=gha
79-
cache-to: type=gha,mode=max
8080
build-args: |
8181
VERSION=v0.0.0-${{ env.IMAGE_SHA }}
8282
GIT_COMMIT=${{ env.IMAGE_SHA }}
@@ -97,7 +97,7 @@ jobs:
9797
publish:
9898
name: Publish image
9999
needs: [build-image]
100-
runs-on: ubuntu-latest
100+
runs-on: blacksmith-4vcpu-ubuntu-2404
101101
permissions:
102102
contents: 'read'
103103
packages: 'write'
@@ -108,8 +108,8 @@ jobs:
108108
path: ${{ runner.temp }}/digests
109109
pattern: digests-*
110110
merge-multiple: true
111-
- name: Set up Docker Buildx
112-
uses: docker/setup-buildx-action@v3
111+
- name: Setup Blacksmith Builder
112+
uses: useblacksmith/setup-docker-builder@v1
113113
- name: Docker meta
114114
id: meta
115115
uses: docker/metadata-action@v5

.github/workflows/ai-proxy-cd.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ env:
3131
jobs:
3232
test:
3333
name: Unit test
34-
runs-on: ubuntu-latest
34+
runs-on: blacksmith-4vcpu-ubuntu-2404
3535
defaults:
3636
run:
3737
shell: bash
@@ -85,20 +85,20 @@ jobs:
8585
registry: ghcr.io
8686
username: ${{ github.repository_owner }}
8787
password: ${{ secrets.GITHUB_TOKEN }}
88-
- name: Set up Docker Buildx
89-
uses: docker/setup-buildx-action@v3
88+
- name: Setup Blacksmith Builder
89+
uses: useblacksmith/setup-docker-builder@v2
90+
with:
91+
cache-key: go/ai-proxy/Dockerfile
9092
- name: Build and push by digest
9193
id: build
92-
uses: docker/build-push-action@v6
94+
uses: useblacksmith/build-push-action@v2
9395
with:
9496
context: "."
9597
file: "./go/ai-proxy/Dockerfile"
9698
tags: ${{ env.REGISTRY_IMAGE }}
9799
labels: ${{ steps.meta.outputs.labels }}
98100
platforms: ${{ matrix.platforms.platform }}
99101
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
100-
cache-from: type=gha
101-
cache-to: type=gha,mode=max
102102
build-args: |
103103
GIT_COMMIT=${{ github.sha }}
104104
VERSION=${{ steps.meta.outputs.version }}
@@ -118,7 +118,7 @@ jobs:
118118
publish-image:
119119
name: Publish ai-proxy image
120120
needs: [ build-image ]
121-
runs-on: ubuntu-latest
121+
runs-on: blacksmith-4vcpu-ubuntu-2404
122122
permissions:
123123
contents: 'read'
124124
id-token: 'write'
@@ -157,8 +157,8 @@ jobs:
157157
with:
158158
username: mjgpluralsh
159159
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
160-
- name: Set up Docker Buildx
161-
uses: docker/setup-buildx-action@v3
160+
- name: Setup Blacksmith Builder
161+
uses: useblacksmith/setup-docker-builder@v1
162162
- name: Docker meta
163163
id: meta
164164
uses: docker/metadata-action@v5

.github/workflows/ai-proxy-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919
jobs:
2020
build:
2121
name: Build
22-
runs-on: ubuntu-latest
22+
runs-on: blacksmith-4vcpu-ubuntu-2404
2323
defaults:
2424
run:
2525
shell: bash

.github/workflows/assets.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
jobs:
1717
test:
1818
name: Unit test
19-
runs-on: ubuntu-latest
19+
runs-on: blacksmith-4vcpu-ubuntu-2404
2020
defaults:
2121
run:
2222
shell: bash
@@ -30,7 +30,7 @@ jobs:
3030
- run: yarn test
3131
lint:
3232
name: Lint
33-
runs-on: ubuntu-latest
33+
runs-on: blacksmith-4vcpu-ubuntu-2404
3434
defaults:
3535
run:
3636
shell: bash

.github/workflows/chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
publish:
99
name: Publish helm chart
10-
runs-on: ubuntu-latest
10+
runs-on: blacksmith-4vcpu-ubuntu-2404
1111
permissions:
1212
id-token: write
1313
contents: write

.github/workflows/check-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
check-pr-body:
1212
name: Ensure PR Body Format
13-
runs-on: ubuntu-latest
13+
runs-on: blacksmith-4vcpu-ubuntu-2404
1414
permissions:
1515
contents: 'read'
1616
pull-requests: read

.github/workflows/cloud-query-cd.yaml

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ env:
2727
jobs:
2828
test:
2929
name: Unit test
30-
runs-on: ubuntu-latest
30+
runs-on: blacksmith-4vcpu-ubuntu-2404
3131
defaults:
3232
run:
3333
shell: bash
@@ -98,22 +98,28 @@ jobs:
9898
with:
9999
username: mjgpluralsh
100100
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
101+
- name: Login to Docker Hardened Images
102+
uses: docker/login-action@v3
103+
with:
104+
registry: dhi.io
105+
username: mjgpluralsh
106+
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
101107
- name: Set up QEMU
102108
uses: docker/setup-qemu-action@v3
103-
- name: Set up Docker Buildx
104-
uses: docker/setup-buildx-action@v3
109+
- name: Setup Blacksmith Builder
110+
uses: useblacksmith/setup-docker-builder@v2
111+
with:
112+
cache-key: go/cloud-query/db.Dockerfile
105113
- name: Build and push by digest
106114
id: build
107-
uses: docker/build-push-action@v6
115+
uses: useblacksmith/build-push-action@v2
108116
with:
109117
context: "./go/cloud-query"
110118
file: "./go/cloud-query/db.Dockerfile"
111119
tags: ${{ env.REGISTRY_IMAGE_DB }}
112120
labels: ${{ steps.meta.outputs.labels }}
113121
platforms: ${{ matrix.platforms.platform }}
114122
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
115-
cache-from: type=gha
116-
cache-to: type=gha,mode=max
117123
build-args: |
118124
GIT_COMMIT=${{ github.sha }}
119125
VERSION=${{ steps.meta.outputs.version }}
@@ -186,20 +192,20 @@ jobs:
186192
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
187193
- name: Set up QEMU
188194
uses: docker/setup-qemu-action@v3
189-
- name: Set up Docker Buildx
190-
uses: docker/setup-buildx-action@v3
195+
- name: Setup Blacksmith Builder
196+
uses: useblacksmith/setup-docker-builder@v2
197+
with:
198+
cache-key: go/cloud-query/Dockerfile
191199
- name: Build and push by digest
192200
id: build
193-
uses: docker/build-push-action@v6
201+
uses: useblacksmith/build-push-action@v2
194202
with:
195203
context: "./go/cloud-query"
196204
file: "./go/cloud-query/Dockerfile"
197205
tags: ${{ env.REGISTRY_IMAGE }}
198206
labels: ${{ steps.meta.outputs.labels }}
199207
platforms: ${{ matrix.platforms.platform }}
200208
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
201-
cache-from: type=gha
202-
cache-to: type=gha,mode=max
203209
build-args: |
204210
GIT_COMMIT=${{ github.sha }}
205211
VERSION=${{ steps.meta.outputs.version }}
@@ -230,7 +236,7 @@ jobs:
230236
- ghcr.io/pluralsh/cloud-query-db
231237
- gcr.io/pluralsh/cloud-query-db
232238
- docker.io/pluralsh/cloud-query-db
233-
runs-on: ubuntu-latest
239+
runs-on: blacksmith-4vcpu-ubuntu-2404
234240
steps:
235241
- name: Download digests
236242
uses: actions/download-artifact@v7
@@ -258,8 +264,8 @@ jobs:
258264
with:
259265
username: mjgpluralsh
260266
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
261-
- name: Set up Docker Buildx
262-
uses: docker/setup-buildx-action@v3
267+
- name: Setup Blacksmith Builder
268+
uses: useblacksmith/setup-docker-builder@v1
263269
- name: Docker meta
264270
id: meta
265271
uses: docker/metadata-action@v5
@@ -293,7 +299,7 @@ jobs:
293299
- ghcr.io/pluralsh/cloud-query
294300
- gcr.io/pluralsh/cloud-query
295301
- docker.io/pluralsh/cloud-query
296-
runs-on: ubuntu-latest
302+
runs-on: blacksmith-4vcpu-ubuntu-2404
297303
steps:
298304
- name: Download digests
299305
uses: actions/download-artifact@v7
@@ -321,8 +327,8 @@ jobs:
321327
with:
322328
username: mjgpluralsh
323329
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
324-
- name: Set up Docker Buildx
325-
uses: docker/setup-buildx-action@v3
330+
- name: Setup Blacksmith Builder
331+
uses: useblacksmith/setup-docker-builder@v1
326332
- name: Docker meta
327333
id: meta
328334
uses: docker/metadata-action@v5

.github/workflows/cloud-query-ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020
jobs:
2121
build:
2222
name: Build
23-
runs-on: ubuntu-latest
23+
runs-on: blacksmith-4vcpu-ubuntu-2404
2424
defaults:
2525
run:
2626
shell: bash
@@ -35,7 +35,7 @@ jobs:
3535
- run: PATH=$PATH:$GOPATH/bin make build
3636
test:
3737
name: Unit test
38-
runs-on: ubuntu-latest
38+
runs-on: blacksmith-4vcpu-ubuntu-2404
3939
defaults:
4040
run:
4141
shell: bash

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
contents: read
1818
security-events: write
1919
name: CodeQL
20-
runs-on: ubuntu-latest
20+
runs-on: blacksmith-4vcpu-ubuntu-2404
2121
strategy:
2222
fail-fast: false
2323
matrix:

0 commit comments

Comments
 (0)