Compare commits
1 Commits
f12a6112f8
...
3df64e8843
| Author | SHA1 | Date |
|---|---|---|
|
|
3df64e8843 |
|
|
@ -50,7 +50,7 @@ jobs:
|
||||||
buildkit_image: moby/buildkit:buildx-stable-1
|
buildkit_image: moby/buildkit:buildx-stable-1
|
||||||
-
|
-
|
||||||
buildx_version: https://github.com/docker/buildx.git#master
|
buildx_version: https://github.com/docker/buildx.git#master
|
||||||
buildkit_image: moby/buildkit:master
|
buildkit_image: crazymax/buildkit:6200
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
|
|
@ -76,7 +76,7 @@ jobs:
|
||||||
} else if (inpCache === 's3') {
|
} else if (inpCache === 's3') {
|
||||||
const cacheName = inpSlug.replace(/[^a-zA-Z0-9]/g, '-').toLowerCase();
|
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_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
|
name: Set up BuildKit config
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM --platform=$BUILDPLATFORM golang:alpine AS build
|
FROM --platform=$BUILDPLATFORM golang:alpine AS build
|
||||||
RUN apk add --no-cache ca-certificates go nodejs rust cargo
|
|
||||||
|
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
ARG BUILDPLATFORM
|
ARG BUILDPLATFORM
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue