Skip to content

Commit 9d3d2c5

Browse files
AmitSahastrajayesh-srivastavaKun483
committed
Capi runner changes (#229)
* Change runner to self-hosted * Change runner to self-hosted * add necessary setup for new runner * fix setup * change the order * fix * fix --------- Co-authored-by: Jayesh Srivastava <[email protected]> Co-authored-by: kun zhou <[email protected]>
1 parent 14eeb16 commit 9d3d2c5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/spectro-release.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
jobs:
1717
builder:
1818
# edge-runner machine group is a bunch of machines in US Datacenter
19-
runs-on: ubuntu-latest
19+
runs-on: [self-hosted, Linux, X64, capi]
2020
# Initialize all secrets required for the job
2121
# Ensure that the credentials are provided as encrypted secrets
2222
env:
@@ -41,6 +41,11 @@ jobs:
4141
echo "FIPS_REGISTRY=us-east1-docker.pkg.dev/spectro-images/dev-fips/cluster-api" >> $GITHUB_ENV
4242
-
4343
uses: actions/checkout@v3
44+
-
45+
name: Necessary Setup
46+
run: |
47+
sudo chmod 666 /var/run/docker.sock
48+
sudo systemctl restart docker
4449
-
4550
name: Set up Docker Buildx
4651
uses: docker/setup-buildx-action@v1

0 commit comments

Comments
 (0)