itest
This commit is contained in:
@@ -1,26 +1,23 @@
|
||||
name: Remote BuildKit Build
|
||||
on:
|
||||
|
||||
on: [push]
|
||||
push:
|
||||
|
||||
branches:
|
||||
|
||||
- main
|
||||
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
# This must match one of the labels defined in the Deployment above
|
||||
|
||||
runs-on: buildkit
|
||||
runs-on: ["buildkit"]
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
||||
|
||||
- name: Install Buildctl (if missing)
|
||||
- name: Install buildctl
|
||||
|
||||
run: |
|
||||
|
||||
@@ -28,13 +25,13 @@ jobs:
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
||||
- name: Build and Push via Remote BuildKit
|
||||
- name: Build and Push
|
||||
|
||||
run: |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user