Skip to content

Yolean/kafka-hook#8 #33

Yolean/kafka-hook#8

Yolean/kafka-hook#8 #33

Workflow file for this run

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=92363d7d1771abc780e7559c778215be61f934d4
TAG_KAFKA=2.5.1-kafka-server-start
TAG_ZOOKEEPER=2.5.1-zookeeper-server-start
TAG_INITUTILS=initutils-nonroot@sha256:8988aca5b34feabe8d7d4e368f74b2ede398f692c7e99a38b262a938d475812c
TAG_ENVOY=v1.31.0
TAG_CURL=8.9.1
TAG_BUSYBOX=1.36.1-glibc
TAG_TINYGO=0.32.0
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
crane cp solsson/minio-deduplication@sha256:af91c49ce795eb8406c6303d41fd874e231459bd8a5897a35bb12e1cc8f762a6 ghcr.io/yolean/minio-deduplication
crane cp envoyproxy/envoy:v1.17.0 ghcr.io/yolean/envoy:v1.17.0
crane cp envoyproxy/envoy:$TAG_ENVOY ghcr.io/yolean/envoy:$TAG_ENVOY
crane cp envoyproxy/envoy-distroless:$TAG_ENVOY ghcr.io/yolean/envoy-distroless:$TAG_ENVOY
crane cp curlimages/curl:$TAG_CURL ghcr.io/yolean/curl:$TAG_CURL
crane cp busybox:$TAG_BUSYBOX ghcr.io/yolean/busybox:$TAG_BUSYBOX
crane cp mailgun/kafka-pixy:0.17.0@sha256:0b5f4795c0b0d80729fa7415ec70ae4d411e152c6149656dddf01b18184792e0 ghcr.io/yolean/kafka-pixy:0.17.0
crane cp docker.io/yolean/runtime-deno:2c6e176109a4cb1850cb7f8fa56411d370e3f705@sha256:5aeb0b9191bb8c0f1f4b46fb4e9a03857d5b78007a1b960dcced9404dd368bc9 ghcr.io/yolean/runtime-deno:2c6e176109a4cb1850cb7f8fa56411d370e3f705
crane cp tinygo/tinygo:$TAG_TINYGO ghcr.io/yolean/tinygo:$TAG_TINYGO
-
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
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
-
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