This commit is contained in:
Jan Larwig 2025-09-01 21:16:38 +02:00 committed by GitHub
commit b39c01d297
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 59 additions and 54 deletions

View File

@ -3,10 +3,10 @@ name: Continuous Integration
on:
push:
branches:
- '**'
- master
pull_request:
branches:
- '**'
- "**"
jobs:
build:
runs-on: ubuntu-latest

1
.gitignore vendored
View File

@ -7,6 +7,7 @@ release
.env
.bundle
c.out
e2e
# Go.gitignore
# Compiled Object files, Static and Dynamic libs (Shared Objects)

View File

@ -75,6 +75,10 @@ DOCKER_BUILDX_PUSH_X_PLATFORM_ALPINE := $(DOCKER_BUILDX_X_PLATFORM_ALPINE) --pus
.PHONY: build-docker
build-docker: build-distroless build-alpine ## Build multi architecture docker images in both flavours (distroless / alpine)
.PHONY: build-docker-local
build-docker-local: ## Build distroless docker image and locally load into docker images
$(DOCKER_BUILDX) --load -t $(REGISTRY)/$(REPOSITORY):latest -t $(REGISTRY)/$(REPOSITORY):${VERSION} .
.PHONY: build-distroless
build-distroless: ## Build multi architecture distroless based docker image
$(DOCKER_BUILDX_X_PLATFORM) -t $(REGISTRY)/$(REPOSITORY):latest -t $(REGISTRY)/$(REPOSITORY):${VERSION} .