#7: Docker build command #10

Merged
devastator merged 8 commits from feature/7-docker into master 2026-09-29 00:22:06 +03:00
Showing only changes of commit 436e40d2ca - Show all commits
+5 -1
View File
@@ -8,6 +8,10 @@ inputs:
tags: tags:
description: newline-separated list of tags to tag the image description: newline-separated list of tags to tag the image
required: true required: true
containerfile:
description: target container file to build
required: false
default: Containerfile
runs: runs:
using: composite using: composite
@@ -22,6 +26,6 @@ runs:
[[ -z "$tag" ]] && continue [[ -z "$tag" ]] && continue
image="${repo_host}/${{ gitea.repository }}/${{ inputs.name }}:$tag" image="${repo_host}/${{ gitea.repository }}/${{ inputs.name }}:$tag"
docker build -f Containerfile -t $image docker build -f ${{ containerfile }} -t $image .
docker push $image docker push $image
done <<< "${{ inputs.tags }}" done <<< "${{ inputs.tags }}"