Compare commits

..

2 Commits

Author SHA1 Message Date
CrazyMax
f7b3516b21
big 2025-11-19 17:41:09 +01:00
CrazyMax
a5b2b9c58b
big 2025-11-19 17:29:34 +01:00
3 changed files with 6 additions and 5 deletions

View File

@ -50,7 +50,7 @@ jobs:
buildkit_image: moby/buildkit:buildx-stable-1
-
buildx_version: https://github.com/docker/buildx.git#master
buildkit_image: crazymax/buildkit:s3patch
buildkit_image: moby/buildkit:master
steps:
-
name: Checkout
@ -76,7 +76,7 @@ jobs:
} else if (inpCache === 's3') {
const cacheName = inpSlug.replace(/[^a-zA-Z0-9]/g, '-').toLowerCase();
core.exportVariable('CACHE_FROM', `type=s3,region=us-east-2,bucket=buildkit-s3-cache-test,name=${cacheName}`);
core.exportVariable('CACHE_TO', `type=s3,region=us-east-2,bucket=buildkit-s3-cache-test,name=${cacheName},mode=max`);
core.exportVariable('CACHE_TO', `type=s3,region=us-east-2,bucket=buildkit-s3-cache-test,name=${cacheName}`);
}
-
name: Set up BuildKit config
@ -138,8 +138,7 @@ jobs:
uses: ./
with:
context: ./test
file: ./test/multi.Dockerfile
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x
file: ./test/big.Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

3
test/big.Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM busybox
RUN dd if=/dev/zero of=/output.dat bs=648M count=1
RUN uname -a

View File

@ -1,6 +1,5 @@
# syntax=docker/dockerfile:1
FROM --platform=$BUILDPLATFORM golang:alpine AS build
RUN apk add --no-cache ca-certificates go nodejs rust cargo
ARG TARGETPLATFORM
ARG BUILDPLATFORM