Skip to content

Commit 7bbb128

Browse files
committed
Update example workflows to use docker-container driver
Replace the legacy TCP endpoint with docker-container://buildcage to match the README and the driver migration in #24.
1 parent b27a45a commit 7bbb128

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/example-audit.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111

1212
steps:
1313
- name: Start Buildcage builder
14-
id: buildcage
1514
uses: dash14/buildcage/setup@v1
1615
with:
1716
proxy_mode: audit
@@ -20,7 +19,7 @@ jobs:
2019
uses: docker/setup-buildx-action@v3
2120
with:
2221
driver: remote
23-
endpoint: tcp://localhost:${{ steps.buildcage.outputs.port }}
22+
endpoint: docker-container://buildcage
2423

2524
- name: Create test Dockerfile
2625
run: |

.github/workflows/example-restrict.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111

1212
steps:
1313
- name: Start Buildcage builder
14-
id: buildcage
1514
uses: dash14/buildcage/setup@v1
1615
with:
1716
proxy_mode: restrict
@@ -23,7 +22,7 @@ jobs:
2322
uses: docker/setup-buildx-action@v3
2423
with:
2524
driver: remote
26-
endpoint: tcp://localhost:${{ steps.buildcage.outputs.port }}
25+
endpoint: docker-container://buildcage
2726

2827
- name: Create test Dockerfile
2928
run: |

0 commit comments

Comments
 (0)