current ystack-runner #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: images | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
- | |
name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
- | |
uses: imjasonh/[email protected] | |
- | |
run: | | |
TAG_KKV=7fa31f42731fc20a77988b478a3896732cc3dc88 | |
TAG_HOOK=76984f89554bd8b2beadb086edc998cc36ab381c | |
TAG_KAFKA=2.5.1-kafka-server-start | |
TAG_ZOOKEEPER=2.5.1-zookeeper-server-start | |
TAG_INITUTILS=initutils-nonroot@sha256:8988aca5b34feabe8d7d4e368f74b2ede398f692c7e99a38b262a938d475812c | |
crane cp docker.io/yolean/kafka-keyvalue:$TAG_KKV ghcr.io/yolean/kafka-keyvalue:$TAG_KKV | |
crane cp docker.io/yolean/kafka-hook:$TAG_HOOK ghcr.io/yolean/kafka-hook:$TAG_HOOK | |
crane cp solsson/kafka:$TAG_KAFKA ghcr.io/yolean/kafka:$TAG_KAFKA | |
crane cp solsson/kafka:$TAG_ZOOKEEPER ghcr.io/yolean/kafka:$TAG_ZOOKEEPER | |
crane cp solsson/kafka:$TAG_INITUTILS ghcr.io/yolean/kafka:$TAG_INITUTILS | |
- | |
name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- | |
name: Set up Docker Buildx | |
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 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,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 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 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 | |
env: | |
SOURCE_DATE_EPOCH: 0 | |
with: | |
context: node | |
tags: | | |
ghcr.io/yolean/node:root | |
ghcr.io/yolean/node:${{ 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 latest | |
uses: docker/build-push-action@v5 | |
env: | |
SOURCE_DATE_EPOCH: 0 | |
with: | |
context: to-nonroot/node | |
tags: | | |
ghcr.io/yolean/node:latest | |
ghcr.io/yolean/node:${{ github.sha }} | |
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-kafka root | |
uses: docker/build-push-action@v5 | |
env: | |
SOURCE_DATE_EPOCH: 0 | |
with: | |
context: node-kafka | |
tags: | | |
ghcr.io/yolean/node-kafka:root | |
ghcr.io/yolean/node-kafka:${{ 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-kafka latest | |
uses: docker/build-push-action@v5 | |
env: | |
SOURCE_DATE_EPOCH: 0 | |
with: | |
context: to-nonroot/node-kafka | |
tags: | | |
ghcr.io/yolean/node-kafka:latest | |
ghcr.io/yolean/node-kafka:${{ 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:root=docker-image://ghcr.io/yolean/node-kafka:root | |
- | |
name: Build and push node-kafka-cache root | |
uses: docker/build-push-action@v5 | |
env: | |
SOURCE_DATE_EPOCH: 0 | |
with: | |
context: node-kafka-cache | |
tags: | | |
ghcr.io/yolean/node-kafka-cache:root | |
ghcr.io/yolean/node-kafka-cache:${{ 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-kafka:root=docker-image://ghcr.io/yolean/node-kafka:root | |
- | |
name: Build and push node-kafka-cache latest | |
uses: docker/build-push-action@v5 | |
env: | |
SOURCE_DATE_EPOCH: 0 | |
with: | |
context: to-nonroot/node-kafka-cache | |
tags: | | |
ghcr.io/yolean/node-kafka-cache:latest | |
ghcr.io/yolean/node-kafka-cache:${{ 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-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-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 |