This commit is contained in:
Bensch
2026-02-24 14:09:45 +00:00
parent 5aa4b13d20
commit 90cfcd3c8f

View File

@@ -1,26 +1,23 @@
name: Remote BuildKit Build on:
on: [push] push:
branches:
- main
jobs: jobs:
build: build:
# This must match one of the labels defined in the Deployment above runs-on: ["buildkit"]
runs-on: buildkit
steps: steps:
- name: Checkout - uses: actions/checkout@v4
uses: actions/checkout@v4 - name: Install buildctl
- name: Install Buildctl (if missing)
run: | run: |
@@ -28,13 +25,13 @@ jobs:
echo "Installing buildctl..." echo "Installing buildctl..."
wget -qO- https://github.com/moby/buildkit/releases/download/v0.12.5/buildkit-v0.12.5.linux-amd64.tar.gz | tar -xz -C /usr/local/bin --strip-components=1 bin/buildctl wget -qO- https://github.com/moby/buildkit/releases/download/v0.12.5/buildkit-v0.12.5.linux-amd64.tar.gz \
| tar -xz -C /usr/local/bin --strip-components=1 bin/buildctl
fi fi
- name: Build and Push
- name: Build and Push via Remote BuildKit
run: | run: |