Compare commits

...

8 Commits

Author SHA1 Message Date
CrazyMax
fe8520559f s3 patch 2025-11-20 01:36:37 +01:00
CrazyMax
f12a6112f8 install pkgs 2025-11-19 19:32:45 +01:00
CrazyMax
410bc3c68c install pkgs 2025-11-19 19:31:19 +01:00
CrazyMax
6909fbc5b1 ci(e2e): test s3 cache exporter
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-11-13 19:47:38 +01:00
CrazyMax
9e436ba9f2 Merge pull request #1413 from osman-butt/docs/update-checkout-v5
Some checks failed
ci / named-context-container (push) Has been cancelled
ci / docker-config-malformed (push) Has been cancelled
ci / proxy-docker-config (push) Has been cancelled
test / test (push) Has been cancelled
validate / prepare (push) Has been cancelled
ci / minimal (push) Has been cancelled
ci / git-context (push) Has been cancelled
ci / git-context-secret (push) Has been cancelled
ci / path-context (push) Has been cancelled
ci / example (push) Has been cancelled
ci / error (push) Has been cancelled
ci / network (push) Has been cancelled
ci / shm-size (push) Has been cancelled
ci / ulimit (push) Has been cancelled
ci / cgroup-parent (push) Has been cancelled
ci / add-hosts (push) Has been cancelled
ci / no-cache-filters (push) Has been cancelled
ci / attests-compat (moby/buildkit:buildx-stable-1, latest) (push) Has been cancelled
ci / attests-compat (moby/buildkit:buildx-stable-1, v0.9.1) (push) Has been cancelled
ci / attests-compat (moby/buildkit:latest, edge) (push) Has been cancelled
ci / attests-compat (moby/buildkit:v0.10.6, latest) (push) Has been cancelled
ci / provenance (, /tmp/buildx-build, binary) (push) Has been cancelled
ci / provenance (, type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Has been cancelled
ci / provenance (mode=max, /tmp/buildx-build, binary) (push) Has been cancelled
ci / provenance (mode=max, type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Has been cancelled
ci / sbom (/tmp/buildx-build, binary) (push) Has been cancelled
ci / sbom (type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Has been cancelled
ci / multi (multi) (push) Has been cancelled
ci / local-cache (push) Has been cancelled
ci / standalone (push) Has been cancelled
ci / named-context-pin (push) Has been cancelled
ci / named-context-docker (push) Has been cancelled
ci / summary-disable-deprecated (push) Has been cancelled
ci / summary-not-supported (push) Has been cancelled
ci / record-upload-disable (push) Has been cancelled
ci / multi (multi-sudo) (push) Has been cancelled
ci / digest (docker, false, false) (push) Has been cancelled
ci / digest (docker, false, true) (push) Has been cancelled
ci / digest (docker, true, false) (push) Has been cancelled
ci / digest (docker-container, false, false) (push) Has been cancelled
ci / digest (docker-container, false, true) (push) Has been cancelled
ci / digest (docker-container, true, false) (push) Has been cancelled
ci / registry-cache (push) Has been cancelled
ci / github-cache (push) Has been cancelled
ci / record-retention-days (0) (push) Has been cancelled
ci / record-retention-days (2) (push) Has been cancelled
ci / export-legacy (false) (push) Has been cancelled
ci / export-legacy (true) (push) Has been cancelled
ci / checks (edge) (push) Has been cancelled
ci / checks (latest) (push) Has been cancelled
ci / checks (v0.14.1) (push) Has been cancelled
ci / annotations-disabled (push) Has been cancelled
ci / call-check (push) Has been cancelled
ci / no-default-attestations (push) Has been cancelled
ci / error-buildx (push) Has been cancelled
ci / docker-driver (push) Has been cancelled
ci / export-docker (push) Has been cancelled
ci / secret (push) Has been cancelled
ci / secret-envs (push) Has been cancelled
ci / proxy-buildkitd (push) Has been cancelled
ci / annotations (push) Has been cancelled
ci / multi-output (push) Has been cancelled
ci / load-and-push (push) Has been cancelled
ci / summary-disable (push) Has been cancelled
validate / validate (push) Has been cancelled
e2e / build (AWS ECR, AWS_SECRET_ACCESS_KEY, 175142243308.dkr.ecr.us-east-2.amazonaws.com, 175142243308.dkr.ecr.us-east-2.amazonaws.com/sandbox/test-docker-action, remote, AWS_ACCESS_KEY_ID) (push) Failing after -1s
e2e / build (Azure Container Registry, AZURE_CLIENT_SECRET, officialgithubactions.azurecr.io, officialgithubactions.azurecr.io/test-docker-action, remote, AZURE_CLIENT_ID) (push) Failing after -1s
e2e / build (AWS ECR Public, AWS_SECRET_ACCESS_KEY, public.ecr.aws, public.ecr.aws/q3b5f1u4/test-docker-action, remote, AWS_ACCESS_KEY_ID) (push) Failing after 4s
e2e / build (GitHub, GHCR_PAT, ghcr.io, ghcr.io/docker-ghactiontest/test, remote, GHCR_USERNAME) (push) Failing after -1s
e2e / build (Artifactory, ARTIFACTORY_TOKEN, infradock.jfrog.io, infradock.jfrog.io/test-ghaction/build-push-action, remote, ARTIFACTORY_USERNAME) (push) Failing after 6s
e2e / build (Google Artifact Registry, GAR_JSON_KEY, us-east4-docker.pkg.dev, us-east4-docker.pkg.dev/sandbox-298914/docker-official-github-actions/test-docker-action, remote, GAR_USERNAME) (push) Failing after -1s
e2e / build (Docker Hub, DOCKERHUB_TOKEN, , ghactionstest/ghactionstest, remote, DOCKERHUB_USERNAME) (push) Failing after 7s
e2e / build (distribution, Distribution, local) (push) Failing after -1s
e2e / build (nexus, Nexus, local) (push) Failing after -1s
e2e / build (GitLab, GITLAB_TOKEN, registry.gitlab.com, registry.gitlab.com/test1716/test, remote, GITLAB_USERNAME) (push) Failing after 9s
e2e / build (Quay, QUAY_TOKEN, quay.io, quay.io/docker_build_team/ghactiontest, remote, QUAY_USERNAME) (push) Failing after 8s
e2e / build (harbor, Harbor, local) (push) Failing after 7s
docs: update checkout action to v5 in README examples
2025-09-29 12:15:59 +02:00
osman-butt
62929198b5 docs: update checkout action to v5 in README
Signed-off-by: osman-butt <butt.osman@gmail.com>
2025-09-06 00:04:00 +02:00
CrazyMax
cb8fc7586f Merge pull request #1411 from docker/update-e2e
Some checks failed
test / test (push) Failing after 4s
validate / prepare (push) Failing after 5s
validate / validate (push) Has been skipped
ci / minimal (push) Failing after 4s
ci / git-context-secret (push) Failing after 8s
ci / path-context (push) Failing after 8s
ci / error (push) Failing after 5s
ci / error-buildx (push) Failing after 5s
ci / secret (push) Failing after 5s
ci / network (push) Failing after 5s
ci / shm-size (push) Failing after 5s
ci / ulimit (push) Failing after 5s
ci / add-hosts (push) Failing after 5s
ci / attests-compat (moby/buildkit:buildx-stable-1, v0.9.1) (push) Failing after 5s
ci / attests-compat (moby/buildkit:latest, edge) (push) Failing after 4s
ci / provenance (, type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Failing after 8s
ci / git-context (push) Failing after 8s
ci / example (push) Failing after 8s
ci / docker-driver (push) Failing after 8s
ci / export-docker (push) Failing after 4s
ci / secret-envs (push) Failing after 5s
ci / cgroup-parent (push) Failing after 5s
ci / no-cache-filters (push) Failing after 5s
ci / attests-compat (moby/buildkit:buildx-stable-1, latest) (push) Failing after 5s
ci / attests-compat (moby/buildkit:v0.10.6, latest) (push) Failing after 4s
ci / provenance (, /tmp/buildx-build, binary) (push) Failing after 8s
ci / provenance (mode=max, /tmp/buildx-build, binary) (push) Failing after 8s
ci / provenance (mode=max, type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Failing after 8s
ci / sbom (/tmp/buildx-build, binary) (push) Failing after 8s
ci / sbom (type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Failing after 8s
ci / multi (multi) (push) Failing after 8s
ci / multi (multi-sudo) (push) Failing after 8s
ci / digest (docker, false, false) (push) Failing after 8s
ci / digest (docker, false, true) (push) Failing after 8s
ci / digest (docker, true, false) (push) Failing after 8s
ci / digest (docker-container, false, false) (push) Failing after 8s
ci / digest (docker-container, false, true) (push) Failing after 8s
ci / digest (docker-container, true, false) (push) Failing after 8s
ci / local-cache (push) Failing after 8s
ci / standalone (push) Failing after 5s
ci / named-context-pin (push) Failing after 5s
ci / docker-config-malformed (push) Failing after 5s
ci / proxy-docker-config (push) Failing after 8s
ci / proxy-buildkitd (push) Failing after 8s
ci / annotations (push) Failing after 8s
ci / multi-output (push) Failing after 8s
ci / summary-disable (push) Failing after 4s
ci / summary-disable-deprecated (push) Failing after 5s
ci / record-upload-disable (push) Failing after 5s
ci / export-legacy (false) (push) Failing after 5s
ci / checks (edge) (push) Failing after 5s
ci / annotations-disabled (push) Failing after 4s
ci / registry-cache (push) Failing after 8s
ci / github-cache (push) Failing after 8s
ci / named-context-docker (push) Failing after 5s
ci / named-context-container (push) Failing after 7s
ci / load-and-push (push) Failing after 8s
ci / summary-not-supported (push) Failing after 5s
ci / record-retention-days (0) (push) Failing after 5s
ci / record-retention-days (2) (push) Failing after 4s
ci / export-legacy (true) (push) Failing after 5s
ci / checks (latest) (push) Failing after 5s
ci / checks (v0.14.1) (push) Failing after 5s
ci / call-check (push) Failing after 4s
ci / no-default-attestations (push) Failing after 4s
e2e / build (Docker Hub, DOCKERHUB_TOKEN, , ghactionstest/ghactionstest, remote, DOCKERHUB_USERNAME) (push) Failing after 1s
e2e / build (Artifactory, ARTIFACTORY_TOKEN, infradock.jfrog.io, infradock.jfrog.io/test-ghaction/build-push-action, remote, ARTIFACTORY_USERNAME) (push) Failing after 1s
e2e / build (Quay, QUAY_TOKEN, quay.io, quay.io/docker_build_team/ghactiontest, remote, QUAY_USERNAME) (push) Failing after 1s
e2e / build (distribution, Distribution, local) (push) Failing after 1s
e2e / build (nexus, Nexus, local) (push) Failing after 1s
e2e / build (GitLab, GITLAB_TOKEN, registry.gitlab.com, registry.gitlab.com/test1716/test, remote, GITLAB_USERNAME) (push) Failing after 1s
e2e / build (harbor, Harbor, local) (push) Failing after 1s
e2e / build (Azure Container Registry, AZURE_CLIENT_SECRET, officialgithubactions.azurecr.io, officialgithubactions.azurecr.io/test-docker-action, remote, AZURE_CLIENT_ID) (push) Failing after 1m22s
e2e / build (GitHub, GHCR_PAT, ghcr.io, ghcr.io/docker-ghactiontest/test, remote, GHCR_USERNAME) (push) Failing after 1m19s
e2e / build (Google Artifact Registry, GAR_JSON_KEY, us-east4-docker.pkg.dev, us-east4-docker.pkg.dev/sandbox-298914/docker-official-github-actions/test-docker-action, remote, GAR_USERNAME) (push) Failing after 1m19s
e2e / build (AWS ECR, AWS_SECRET_ACCESS_KEY, 175142243308.dkr.ecr.us-east-2.amazonaws.com, 175142243308.dkr.ecr.us-east-2.amazonaws.com/sandbox/test-docker-action, remote, AWS_ACCESS_KEY_ID) (push) Failing after 1m25s
e2e / build (AWS ECR Public, AWS_SECRET_ACCESS_KEY, public.ecr.aws, public.ecr.aws/q3b5f1u4/test-docker-action, remote, AWS_ACCESS_KEY_ID) (push) Failing after 1m28s
ci: update harbor and distribution to latest
2025-09-05 12:13:31 +02:00
CrazyMax
5225a9fc21 ci: update harbor and distribution to latest
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-09-05 12:07:59 +02:00
5 changed files with 40 additions and 6 deletions

View File

@@ -76,6 +76,7 @@ until $(curl --output /dev/null --silent --head --fail "http://$NEXUS_HOST:$NEXU
printf '.'
sleep 5
done
echo "ready!"
echo "::endgroup::"
echo "::group::Change user's password"

View File

@@ -25,11 +25,15 @@ on:
password_secret:
required: false
type: string
cache:
required: false
type: string
default: registry
env:
HARBOR_VERSION: v2.7.0
HARBOR_VERSION: v2.13.2
NEXUS_VERSION: 3.47.1
DISTRIBUTION_VERSION: 2.8.1
DISTRIBUTION_VERSION: 3.0.0
jobs:
run:
@@ -46,7 +50,7 @@ jobs:
buildkit_image: moby/buildkit:buildx-stable-1
-
buildx_version: https://github.com/docker/buildx.git#master
buildkit_image: moby/buildkit:master
buildkit_image: crazymax/buildkit:s3patch
steps:
-
name: Checkout
@@ -56,6 +60,24 @@ jobs:
if: inputs.type == 'local'
run: |
cat ./.github/e2e/${{ inputs.id }}/env >> $GITHUB_ENV
-
name: Set up outputs
uses: actions/github-script@v8
env:
INPUT_SLUG: ${{ env.REGISTRY_SLUG || inputs.slug }}
INPUT_CACHE: ${{ inputs.cache }}
with:
script: |
const inpSlug = core.getInput('slug');
const inpCache = core.getInput('cache');
if (inpCache === 'registry') {
core.exportVariable('CACHE_FROM', `type=registry,ref=${inpSlug}:master`);
core.exportVariable('CACHE_TO', 'type=inline');
} 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`);
}
-
name: Set up BuildKit config
run: |
@@ -121,8 +143,12 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=${{ env.REGISTRY_SLUG || inputs.slug }}:master
cache-to: type=inline
cache-from: ${{ env.CACHE_FROM }}
cache-to: ${{ env.CACHE_TO }}
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_S3_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_S3_SECRET_ACCESS_KEY }}
AWS_SESSION_TOKEN: ${{ secrets.AWS_S3_SESSION_TOKEN }}
-
name: Inspect image
run: |

View File

@@ -25,6 +25,11 @@ jobs:
name: Distribution
id: distribution
type: local
-
name: Distribution (s3 cache)
id: distribution
type: local
cache: s3
-
name: Docker Hub
registry: ''
@@ -104,4 +109,5 @@ jobs:
slug: ${{ matrix.slug }}
username_secret: ${{ matrix.username_secret }}
password_secret: ${{ matrix.password_secret }}
cache: ${{ matrix.cache || 'registry' }}
secrets: inherit

View File

@@ -131,7 +131,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
-
name: Login to Docker Hub
uses: docker/login-action@v3

View File

@@ -1,5 +1,6 @@
# 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