Skip to content

Merge pull request #16 from Yolean/pre-push-hacks #10

Merge pull request #16 from Yolean/pre-push-hacks

Merge pull request #16 from Yolean/pre-push-hacks #10

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
crane cp docker.io/yolean/kafka-keyvalue:$TAG_KKV ghcr.io/yolean/kafka-keyvalue:$TAG_KKV
-
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 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 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-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
-
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