Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit b6cac32

Browse files
authored
Merge pull request #15 from ajayk/actions
use dag for the boostrap
2 parents b7f8f60 + 47581f3 commit b6cac32

File tree

4 files changed

+37
-7
lines changed

4 files changed

+37
-7
lines changed

.github/workflows/dag-push-production.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
with:
3838
repository: wolfi-dev/dag
3939
path: ${{github.workspace}}/dag
40+
fetch-depth: 0
4041
- name: Setup Build Cluster
4142
working-directory: ${{github.workspace}}/dag
4243
run: |
@@ -71,7 +72,9 @@ jobs:
7172
cluster: "${CLUSTER_NAME}"
7273

7374
- working-directory: ${{github.workspace}}/dag
74-
run: ./scripts/setup-cluster.sh ${SERVICE_ACCOUNT}
75+
run: |
76+
git checkout c8bb454c91090f3aa3916a65dc55488864af7169
77+
./scripts/setup-cluster.sh ${SERVICE_ACCOUNT}
7578
7679
build-amd64:
7780
name: Build (amd64)
@@ -92,8 +95,11 @@ jobs:
9295
with:
9396
repository: wolfi-dev/dag
9497
path: ${{github.workspace}}/dag
98+
fetch-depth: 0
9599
- working-directory: ${{github.workspace}}/dag
96-
run: go install
100+
run: |
101+
git checkout c8bb454c91090f3aa3916a65dc55488
102+
go install
97103
98104
- uses: google-github-actions/auth@v0
99105
with:
@@ -140,8 +146,11 @@ jobs:
140146
with:
141147
repository: wolfi-dev/dag
142148
path: ${{github.workspace}}/dag
149+
fetch-depth: 0
143150
- working-directory: ${{github.workspace}}/dag
144-
run: go install
151+
run: |
152+
git checkout c8bb454c91090f3aa3916a65dc55488864af7169
153+
go install
145154
146155
- uses: google-github-actions/auth@v0
147156
with:

.github/workflows/dag-push-staging.yaml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
with:
3838
repository: wolfi-dev/dag
3939
path: ${{github.workspace}}/dag
40+
fetch-depth: 0
41+
4042
- name: Setup Build Cluster
4143
working-directory: ${{github.workspace}}/dag
4244
run: |
@@ -71,7 +73,9 @@ jobs:
7173
cluster: "${CLUSTER_NAME}"
7274

7375
- working-directory: ${{github.workspace}}/dag
74-
run: ./scripts/setup-cluster.sh ${SERVICE_ACCOUNT}
76+
run: |
77+
git checkout c8bb454c91090f3aa3916a65dc55488864af7169
78+
./scripts/setup-cluster.sh ${SERVICE_ACCOUNT}
7579
7680
build-amd64:
7781
name: Build (amd64)
@@ -92,8 +96,11 @@ jobs:
9296
with:
9397
repository: wolfi-dev/dag
9498
path: ${{github.workspace}}/dag
99+
fetch-depth: 0
95100
- working-directory: ${{github.workspace}}/dag
96-
run: go install
101+
run: |
102+
git checkout c8bb454c91090f3aa3916a65dc55488864af7169
103+
go install
97104
98105
- uses: google-github-actions/auth@v0
99106
with:
@@ -140,8 +147,11 @@ jobs:
140147
with:
141148
repository: wolfi-dev/dag
142149
path: ${{github.workspace}}/dag
150+
fetch-depth: 0
143151
- working-directory: ${{github.workspace}}/dag
144-
run: go install
152+
run: |
153+
git checkout c8bb454c91090f3aa3916a65dc55488864af7169
154+
go install
145155
146156
- uses: google-github-actions/auth@v0
147157
with:
@@ -189,8 +199,11 @@ jobs:
189199
with:
190200
repository: wolfi-dev/dag
191201
path: ${{github.workspace}}/dag
202+
fetch-depth: 0
192203
- working-directory: ${{github.workspace}}/dag
193-
run: go install
204+
run: |
205+
git checkout c8bb454c91090f3aa3916a65dc55488864af7169
206+
go install
194207
195208
- uses: google-github-actions/auth@v0
196209
with:

.github/workflows/push-production.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,10 @@ jobs:
227227
with:
228228
package-name: wolfi-base
229229

230+
- uses: chainguard-dev/actions/inky-build-pkg@main
231+
with:
232+
package-name: libxcrypt
233+
230234
- name: 'Upload the repository to a bucket'
231235
run: |
232236
cp /etc/apk/keys/wolfi-signing.rsa.pub ${{ github.workspace }}/packages/wolfi-signing.rsa.pub

.github/workflows/push-staging.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,10 @@ jobs:
228228
with:
229229
package-name: wolfi-base
230230

231+
- uses: chainguard-dev/actions/inky-build-pkg@main
232+
with:
233+
package-name: libxcrypt
234+
231235
- name: 'Upload the repository to a bucket'
232236
run: |
233237
cp /etc/apk/keys/wolfi-signing.rsa.pub ${{ github.workspace }}/packages/wolfi-signing.rsa.pub

0 commit comments

Comments
 (0)