Skip to content

Commit

Permalink
Update docker-build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
atiterlea authored Oct 23, 2023
1 parent c80e570 commit 3b9a70a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Configure Remote Driver
- name: Install BuildKit CLI
run: |
docker buildx create \
--name remote \
--driver remote \
tcp://buildkitd:1234
wget https://github.com/moby/buildkit/releases/download/v0.9.0/buildkit-v0.9.0.linux-amd64.tar.gz
tar xvf buildkit-v0.9.0.linux-amd64.tar.gz
- name: Build Docker Image
run: |
docker buildx build --builder=remote -t test .
./buildctl --addr tcp://buildkitd:1234 build --frontend=dockerfile.v0 --local context=. --local dockerfile=. --output type=image,name=simple

0 comments on commit 3b9a70a

Please sign in to comment.