diff --git a/.github/workflows/images.yaml b/.github/workflows/images.yaml index 1d2ba7e..a42d35c 100644 --- a/.github/workflows/images.yaml +++ b/.github/workflows/images.yaml @@ -4,6 +4,7 @@ on: push: branches: - main + - nodejs-* jobs: publish: @@ -62,295 +63,6 @@ jobs: uses: docker/setup-buildx-action@v3 ### build steps below are generated ### - - - name: Build and push docker-base latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: docker-base - tags: | - ghcr.io/yolean/docker-base:latest - ghcr.io/yolean/docker-base:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Build and push builder-base latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: builder-base - tags: | - ghcr.io/yolean/builder-base:latest - ghcr.io/yolean/builder-base:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Build and push builder-base-gcc latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: builder-base-gcc - tags: | - ghcr.io/yolean/builder-base-gcc:latest - ghcr.io/yolean/builder-base-gcc:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/builder-base=docker-image://ghcr.io/yolean/builder-base - - - name: Build and push builder-base-gcloud latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: builder-base-gcloud - tags: | - ghcr.io/yolean/builder-base-gcloud:latest - ghcr.io/yolean/builder-base-gcloud:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/builder-base=docker-image://ghcr.io/yolean/builder-base - - - name: Build and push builder-tooling latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: builder-tooling - tags: | - ghcr.io/yolean/builder-tooling:latest - ghcr.io/yolean/builder-tooling:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/builder-base-gcc=docker-image://ghcr.io/yolean/builder-base-gcc - - - name: Build and push builder-node latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: builder-node - tags: | - ghcr.io/yolean/builder-node:latest - ghcr.io/yolean/builder-node:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Build and push builder-quarkus latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: builder-quarkus - tags: | - ghcr.io/yolean/builder-quarkus:latest - ghcr.io/yolean/builder-quarkus:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/builder-base=docker-image://ghcr.io/yolean/builder-base - yolean/builder-base-gcc=docker-image://ghcr.io/yolean/builder-base-gcc - - - name: Build and push builder-evidence latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: builder-evidence - tags: | - ghcr.io/yolean/builder-evidence:latest - ghcr.io/yolean/builder-evidence:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/builder-base-gcc=docker-image://ghcr.io/yolean/builder-base-gcc - yolean/builder-base-gcloud=docker-image://ghcr.io/yolean/builder-base-gcloud - - - name: Build and push git-init latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: git-init - tags: | - ghcr.io/yolean/git-init:latest - ghcr.io/yolean/git-init:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/builder-base=docker-image://ghcr.io/yolean/builder-base - - - name: Build and push toil latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: toil - tags: | - ghcr.io/yolean/toil:latest - ghcr.io/yolean/toil:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/builder-base=docker-image://ghcr.io/yolean/builder-base - yolean/builder-base=docker-image://ghcr.io/yolean/builder-base - - - name: Build and push toil-network latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: toil-network - tags: | - ghcr.io/yolean/toil-network:latest - ghcr.io/yolean/toil-network:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/toil=docker-image://ghcr.io/yolean/toil - - - name: Build and push node-distroless latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: node-distroless - tags: | - ghcr.io/yolean/node-distroless:latest - ghcr.io/yolean/node-distroless:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Build and push blobs latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: blobs - tags: | - ghcr.io/yolean/blobs:latest - ghcr.io/yolean/blobs:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Build and push headless-chrome latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: headless-chrome - tags: | - ghcr.io/yolean/headless-chrome:latest - ghcr.io/yolean/headless-chrome:${{ github.sha }} - platforms: linux/amd64 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/docker-base=docker-image://ghcr.io/yolean/docker-base - - - name: Build and push git-http-readonly latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: git-http-readonly - tags: | - ghcr.io/yolean/git-http-readonly:latest - ghcr.io/yolean/git-http-readonly:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Build and push runtime-quarkus latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: runtime-quarkus - tags: | - ghcr.io/yolean/runtime-quarkus:latest - ghcr.io/yolean/runtime-quarkus:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Build and push runtime-deno latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: runtime-deno - tags: | - ghcr.io/yolean/runtime-deno:latest - ghcr.io/yolean/runtime-deno:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Build and push java root - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: java - tags: | - ghcr.io/yolean/java:root - ghcr.io/yolean/java:${{ github.sha }}-root - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Build and push java latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: to-nonroot/java - tags: | - ghcr.io/yolean/java:latest - ghcr.io/yolean/java:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/java:root=docker-image://ghcr.io/yolean/java:root - name: Build and push node root uses: docker/build-push-action@v5 @@ -445,294 +157,3 @@ jobs: cache-to: type=gha,mode=max build-contexts: | yolean/node-kafka-cache:root=docker-image://ghcr.io/yolean/node-kafka-cache:root - - - name: Build and push node-watchexec root - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: node-watchexec - tags: | - ghcr.io/yolean/node-watchexec:root - ghcr.io/yolean/node-watchexec:${{ github.sha }}-root - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Build and push node-watchexec latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: to-nonroot/node-watchexec - tags: | - ghcr.io/yolean/node-watchexec:latest - ghcr.io/yolean/node-watchexec:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/node-watchexec:root=docker-image://ghcr.io/yolean/node-watchexec:root - - - name: Build and push node-kafka-watch root - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: node-kafka-watch - tags: | - ghcr.io/yolean/node-kafka-watch:root - ghcr.io/yolean/node-kafka-watch:${{ github.sha }}-root - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/node-watchexec:root=docker-image://ghcr.io/yolean/node-watchexec:root - yolean/node-kafka:root=docker-image://ghcr.io/yolean/node-kafka:root - - - name: Build and push node-kafka-watch latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: to-nonroot/node-kafka-watch - tags: | - ghcr.io/yolean/node-kafka-watch:latest - ghcr.io/yolean/node-kafka-watch:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/node-kafka-watch:root=docker-image://ghcr.io/yolean/node-kafka-watch:root - - - name: Build and push node-gcloud root - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: node-gcloud - tags: | - ghcr.io/yolean/node-gcloud:root - ghcr.io/yolean/node-gcloud:${{ github.sha }}-root - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/node:root=docker-image://ghcr.io/yolean/node:root - - - name: Build and push node-gcloud latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: to-nonroot/node-gcloud - tags: | - ghcr.io/yolean/node-gcloud:latest - ghcr.io/yolean/node-gcloud:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/node-gcloud:root=docker-image://ghcr.io/yolean/node-gcloud:root - - - name: Build and push runtime-quarkus-ubuntu root - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: runtime-quarkus-ubuntu - tags: | - ghcr.io/yolean/runtime-quarkus-ubuntu:root - ghcr.io/yolean/runtime-quarkus-ubuntu:${{ github.sha }}-root - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/docker-base=docker-image://ghcr.io/yolean/docker-base - - - name: Build and push runtime-quarkus-ubuntu latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: to-nonroot/runtime-quarkus-ubuntu - tags: | - ghcr.io/yolean/runtime-quarkus-ubuntu:latest - ghcr.io/yolean/runtime-quarkus-ubuntu:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/runtime-quarkus-ubuntu:root=docker-image://ghcr.io/yolean/runtime-quarkus-ubuntu:root - - - name: Build and push runtime-quarkus-deno root - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: runtime-quarkus-deno - tags: | - ghcr.io/yolean/runtime-quarkus-deno:root - ghcr.io/yolean/runtime-quarkus-deno:${{ github.sha }}-root - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/runtime-deno=docker-image://ghcr.io/yolean/runtime-deno - yolean/runtime-quarkus-ubuntu=docker-image://ghcr.io/yolean/runtime-quarkus-ubuntu - - - name: Build and push runtime-quarkus-deno latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: to-nonroot/runtime-quarkus-deno - tags: | - ghcr.io/yolean/runtime-quarkus-deno:latest - ghcr.io/yolean/runtime-quarkus-deno:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/runtime-quarkus-deno:root=docker-image://ghcr.io/yolean/runtime-quarkus-deno:root - - - name: Build and push runtime-quarkus-ubuntu-jre root - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: runtime-quarkus-ubuntu-jre - tags: | - ghcr.io/yolean/runtime-quarkus-ubuntu-jre:root - ghcr.io/yolean/runtime-quarkus-ubuntu-jre:${{ github.sha }}-root - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/java:root=docker-image://ghcr.io/yolean/java:root - yolean/runtime-quarkus-ubuntu:root=docker-image://ghcr.io/yolean/runtime-quarkus-ubuntu:root - - - name: Build and push runtime-quarkus-ubuntu-jre latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: to-nonroot/runtime-quarkus-ubuntu-jre - tags: | - ghcr.io/yolean/runtime-quarkus-ubuntu-jre:latest - ghcr.io/yolean/runtime-quarkus-ubuntu-jre:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/runtime-quarkus-ubuntu-jre:root=docker-image://ghcr.io/yolean/runtime-quarkus-ubuntu-jre:root - - - name: Build and push runtime-quarkus-dev root - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: runtime-quarkus-dev - tags: | - ghcr.io/yolean/runtime-quarkus-dev:root - ghcr.io/yolean/runtime-quarkus-dev:${{ github.sha }}-root - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/builder-quarkus=docker-image://ghcr.io/yolean/builder-quarkus - yolean/runtime-quarkus-ubuntu:root=docker-image://ghcr.io/yolean/runtime-quarkus-ubuntu:root - - - name: Build and push runtime-quarkus-dev latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: to-nonroot/runtime-quarkus-dev - tags: | - ghcr.io/yolean/runtime-quarkus-dev:latest - ghcr.io/yolean/runtime-quarkus-dev:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/runtime-quarkus-dev:root=docker-image://ghcr.io/yolean/runtime-quarkus-dev:root - - - name: Build and push toil-storage root - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: toil-storage - tags: | - ghcr.io/yolean/toil-storage:root - ghcr.io/yolean/toil-storage:${{ github.sha }}-root - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/toil=docker-image://ghcr.io/yolean/toil - yolean/docker-base=docker-image://ghcr.io/yolean/docker-base - - - name: Build and push toil-storage latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: to-nonroot/toil-storage - tags: | - ghcr.io/yolean/toil-storage:latest - ghcr.io/yolean/toil-storage:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/toil-storage:root=docker-image://ghcr.io/yolean/toil-storage:root - - - name: Build and push curl-yq root - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: curl-yq - tags: | - ghcr.io/yolean/curl-yq:root - ghcr.io/yolean/curl-yq:${{ github.sha }}-root - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/builder-base=docker-image://ghcr.io/yolean/builder-base - - - name: Build and push curl-yq latest - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: to-nonroot/curl-yq - tags: | - ghcr.io/yolean/curl-yq:latest - ghcr.io/yolean/curl-yq:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - build-contexts: | - yolean/curl-yq:root=docker-image://ghcr.io/yolean/curl-yq:root diff --git a/node/Dockerfile b/node/Dockerfile index 0c5f099..ac77299 100644 --- a/node/Dockerfile +++ b/node/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$TARGETPLATFORM node:22.12.0-bookworm-slim@sha256:a4b757cd491c7f0b57f57951f35f4e85b7e1ad54dbffca4cf9af0725e1650cd8 +FROM --platform=$TARGETPLATFORM node:23.6.0-bookworm-slim@sha256:bde350c38a1090c74566da2547da84727495efa663a0e6e314d31c49a89abd73 RUN runtimeDeps='procps git curl ca-certificates' \ && set -ex \ diff --git a/test.sh b/test.sh index 2ee4bcf..49132c6 100755 --- a/test.sh +++ b/test.sh @@ -16,44 +16,15 @@ if [[ ! -z "$SOURCE_COMMIT" ]]; then fi MULTIARCH_NONROOT=" -docker-base -builder-base -builder-base-gcc -builder-base-gcloud -builder-tooling -builder-node -builder-quarkus -builder-evidence -git-init -toil -toil-network -node-distroless -blobs -headless-chrome -git-http-readonly -runtime-quarkus -runtime-deno " MULTIARCH_TONONROOT=" -java node node-kafka node-kafka-cache -node-watchexec -node-kafka-watch -node-gcloud -runtime-quarkus-ubuntu -runtime-quarkus-deno -runtime-quarkus-ubuntu-jre -runtime-quarkus-dev -toil-storage -curl-yq " DEPRECATED=" -runtime-quarkus-deno -runtime-deno " BEGIN=" ### build steps below are generated ###"