This commit is contained in:
@@ -10,13 +10,15 @@ jobs:
|
||||
runs-on: ["buildkit"] # must match runner labels
|
||||
|
||||
steps:
|
||||
# Checkout repository (requires Node)
|
||||
- name: Install Node.js
|
||||
# Install basic dependencies for Node.js
|
||||
- name: Install Node.js dependencies
|
||||
run: |
|
||||
# Debian/Ubuntu based image
|
||||
apt-get update
|
||||
apt-get install -y curl gnupg ca-certificates
|
||||
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
||||
apt-get install -y nodejs
|
||||
|
||||
# Checkout the repository
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -29,7 +31,7 @@ jobs:
|
||||
| tar -xz -C /usr/local/bin --strip-components=1 bin/buildctl
|
||||
fi
|
||||
|
||||
# Build and push image using remote BuildKit
|
||||
# Build and push Dockerfile using remote BuildKit
|
||||
- name: Build and Push Dockerfile
|
||||
run: |
|
||||
buildctl \
|
||||
|
||||
Reference in New Issue
Block a user