mirror of
https://github.com/docker/build-push-action.git
synced 2025-12-06 09:16:45 +03:00
Compare commits
2 Commits
3df64e8843
...
f12a6112f8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f12a6112f8 | ||
|
|
410bc3c68c |
4
.github/workflows/.e2e-run.yml
vendored
4
.github/workflows/.e2e-run.yml
vendored
@ -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: crazymax/buildkit:6200
|
buildkit_image: moby/buildkit:master
|
||||||
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}`);
|
core.exportVariable('CACHE_TO', `type=s3,region=us-east-2,bucket=buildkit-s3-cache-test,name=${cacheName},mode=max`);
|
||||||
}
|
}
|
||||||
-
|
-
|
||||||
name: Set up BuildKit config
|
name: Set up BuildKit config
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
# 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…
x
Reference in New Issue
Block a user