Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/workflows/.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ env:

jobs:
prepare:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
outputs:
pkgs: ${{ steps.set.outputs.pkgs }}
kinds: ${{ steps.set.outputs.kinds }}
Expand All @@ -48,11 +48,8 @@ jobs:
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
with:
version: ${{ env.SETUP_BUILDX_VERSION }}
driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }}
buildkitd-flags: --debug
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v1
-
name: Deps
run: |
Expand Down Expand Up @@ -102,7 +99,7 @@ jobs:
*.cache-to=type=gha,scope=${{ inputs.cache_scope }},repository=${{ github.repository }},ghtoken=${{ github.token }}

run:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
needs:
- prepare
env:
Expand Down
19 changes: 8 additions & 11 deletions .github/workflows/buildkit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ env:

jobs:
prepare:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
outputs:
binaries-platforms: ${{ steps.platforms.outputs.matrix }}
steps:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
sign: ${{ github.event_name != 'pull_request' }}

binaries-finalize:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
needs:
- binaries
steps:
Expand Down Expand Up @@ -139,18 +139,15 @@ jobs:
codecov_token: ${{ secrets.CODECOV_TOKEN }}

govulncheck:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
permissions:
contents: read # same as global permission
security-events: write # required to write sarif report
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
with:
version: ${{ env.SETUP_BUILDX_VERSION }}
driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }}
buildkitd-flags: --debug
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v1
-
name: Run
uses: docker/bake-action@82490499d2e5613fcead7e128237ef0b0ea210f7 # v7.0.0
Expand All @@ -166,7 +163,7 @@ jobs:
sarif_file: ${{ env.DESTDIR }}/govulncheck.out

image-prepare:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
outputs:
includes: ${{ steps.set.outputs.includes }}
steps:
Expand Down Expand Up @@ -288,7 +285,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

scout:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
if: ${{ github.ref == 'refs/heads/master' && github.repository == 'moby/buildkit' }}
permissions:
# same as global permission
Expand Down Expand Up @@ -332,7 +329,7 @@ jobs:
sarif_file: ${{ steps.scout.outputs.result-file }}

release:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
permissions:
# required to create GitHub release
contents: write
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/buildx-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ env:

jobs:
create:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
strategy:
fail-fast: false
matrix:
Expand All @@ -49,10 +49,8 @@ jobs:
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
with:
version: ${{ env.SETUP_BUILDX_VERSION }}
buildkitd-flags: --debug
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v1
-
name: Login to DockerHub
if: github.event.inputs.dry-run != 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-patched-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ permissions:

jobs:
create-release:
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
19 changes: 6 additions & 13 deletions .github/workflows/dockerd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:

jobs:
prepare:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
-
name: Prepare
Expand All @@ -39,15 +39,11 @@ jobs:
core.exportVariable('DOCKER_BUILD', build);
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
with:
version: ${{ env.SETUP_BUILDX_VERSION }}
driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }}
buildkitd-flags: --debug
uses: useblacksmith/setup-docker-builder@v1
-
name: Build
if: ${{ env.DOCKER_BUILD == 'true' }}
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
uses: useblacksmith/build-push-action@v2
with:
context: ${{ env.DOCKER_VERSION }}
target: binary
Expand Down Expand Up @@ -76,7 +72,7 @@ jobs:
retention-days: 1

test:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
needs:
- prepare
strategy:
Expand Down Expand Up @@ -108,11 +104,8 @@ jobs:
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
with:
version: ${{ env.SETUP_BUILDX_VERSION }}
driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }}
buildkitd-flags: --debug
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v1
-
name: Download dockerd
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
codecov_token: ${{ secrets.CODECOV_TOKEN }}

prepare:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
outputs:
includes: ${{ steps.set.outputs.includes }}
tag: ${{ steps.set.outputs.tag }}
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

scout:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
if: ${{ github.repository == 'moby/buildkit' && github.ref == 'refs/heads/master' }}
permissions:
# same as global permission
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
sarif_file: ${{ steps.scout.outputs.result-file }}

release:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
if: startsWith(github.ref, 'refs/tags/dockerfile')
permissions:
# required to create GitHub release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
-
name: Run
Expand Down
21 changes: 7 additions & 14 deletions .github/workflows/test-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env:

jobs:
build:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
strategy:
fail-fast: false
matrix:
Expand All @@ -44,11 +44,7 @@ jobs:
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
with:
version: ${{ env.SETUP_BUILDX_VERSION }}
driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }}
buildkitd-flags: --debug
uses: useblacksmith/setup-docker-builder@v1
-
name: Build
uses: docker/bake-action@82490499d2e5613fcead7e128237ef0b0ea210f7 # v7.0.0
Expand Down Expand Up @@ -82,7 +78,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-2022]
os: [blacksmith-4vcpu-windows-2025]
worker:
- containerd
pkg:
Expand All @@ -107,7 +103,7 @@ jobs:
- ./frontend/dockerfile#11-12
- ./frontend/dockerfile#12-12
include:
- os: windows-2022
- os: blacksmith-4vcpu-windows-2025
worker: containerd
pkg: ./...
skip-integration-tests: 1
Expand Down Expand Up @@ -193,7 +189,7 @@ jobs:
retention-days: 1

test-freebsd-amd64:
runs-on: ubuntu-22.04
runs-on: blacksmith-4vcpu-ubuntu-2204
needs:
- build
env:
Expand Down Expand Up @@ -266,11 +262,8 @@ jobs:
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
with:
version: ${{ env.SETUP_BUILDX_VERSION }}
driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }}
buildkitd-flags: --debug
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v1
-
name: Build
uses: docker/bake-action@82490499d2e5613fcead7e128237ef0b0ea210f7 # v7.0.0
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env:

jobs:
prepare:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
outputs:
includes: ${{ steps.matrix.outputs.includes }}
steps:
Expand Down Expand Up @@ -73,11 +73,8 @@ jobs:
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
with:
version: ${{ env.SETUP_BUILDX_VERSION }}
driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }}
buildkitd-flags: --debug
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v1
-
name: Validate
uses: docker/bake-action@82490499d2e5613fcead7e128237ef0b0ea210f7 # v7.0.0
Expand Down