build on tag
All checks were successful
trivy-scan-image / trivy_image_scan (push) Successful in 37s
trivy-scan-image / telegram-notify (push) Successful in 2s

This commit is contained in:
2026-03-13 19:35:59 +01:00
parent 70a225152c
commit 98313bf0e1

View File

@@ -1,13 +1,10 @@
name: build-image
run-name: build and push Docker-Image
run-name: build and push Docker-Image with tag:${{ github.ref_name }}
on:
workflow_dispatch: # Manuelles Auslösen des Workflows
inputs:
image_tag:
description: 'Tag für das Docker-Image z.B. v1.0.0 (latest wird immer mit gebaut)'
required: true
default: '1.1.0'
push:
tags:
- "*"
env:
image_name: 404_games
@@ -42,5 +39,5 @@ jobs:
--file ./Dockerfile \
--platform linux/amd64,linux/386,linux/arm64,linux/arm/v7 \
--tag ${{ env.registry }}/${{ env.user }}/${{ env.image_name }}:latest \
--tag ${{ env.registry }}/${{ env.user }}/${{ env.image_name }}:${{ github.event.inputs.image_tag }} \
--tag ${{ env.registry }}/${{ env.user }}/${{ env.image_name }}:${{ github.ref_name }} \
--push ./