itest
This commit is contained in:
@@ -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: |
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user