2 Commits

Author SHA1 Message Date
thischwa 2b19efff45 Expand deploy-image.yml triggers to include develop and feature/* branches.
Build and Push Docker Image / build-and-push (push) Successful in 13s
2026-07-12 13:27:58 +02:00
thischwa c8afa1d930 [maven-release-plugin] prepare for next development iteration
Build and Push Docker Image / build-and-push (push) Successful in 15s
2026-07-12 13:19:16 +02:00
2 changed files with 7 additions and 4 deletions
+5 -2
View File
@@ -32,18 +32,21 @@ jobs:
REF="${{ github.ref_name }}" REF="${{ github.ref_name }}"
if [[ "${REF}" == v* ]]; then if [[ "${REF}" == v* ]]; then
TAG="${REF#v}" TAG="${REF#v}"
TAGS="${FULL_IMAGE}:${TAG},${FULL_IMAGE}:latest"
else else
TAG=$(echo "${REF}" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9._-]/-/g') TAG=$(echo "${REF}" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9._-]/-/g')
TAGS="${FULL_IMAGE}:${TAG}"
fi fi
echo "Registry: ${REGISTRY}" echo "Registry: ${REGISTRY}"
echo "Actor: ${ACTOR}" echo "Actor: ${ACTOR}"
echo "Image: ${FULL_IMAGE}:${TAG}" echo "Tags: ${TAGS}"
echo "registry=${REGISTRY}" >> "$GITHUB_OUTPUT" echo "registry=${REGISTRY}" >> "$GITHUB_OUTPUT"
echo "actor=${ACTOR}" >> "$GITHUB_OUTPUT" echo "actor=${ACTOR}" >> "$GITHUB_OUTPUT"
echo "image=${FULL_IMAGE}" >> "$GITHUB_OUTPUT" echo "image=${FULL_IMAGE}" >> "$GITHUB_OUTPUT"
echo "tag=${TAG}" >> "$GITHUB_OUTPUT" echo "tag=${TAG}" >> "$GITHUB_OUTPUT"
echo "tags=${TAGS}" >> "$GITHUB_OUTPUT"
- name: Network Debug - name: Network Debug
run: | run: |
@@ -67,4 +70,4 @@ jobs:
with: with:
context: . context: .
push: true push: true
tags: ${{ steps.compute-tag.outputs.image }}:${{ steps.compute-tag.outputs.tag }} tags: ${{ steps.compute-tag.outputs.tags }}
+2 -2
View File
@@ -4,7 +4,7 @@
<groupId>codes.thischwa</groupId> <groupId>codes.thischwa</groupId>
<artifactId>jdvc</artifactId> <artifactId>jdvc</artifactId>
<version>0.1.0</version> <version>0.2.0-SNAPSHOT</version>
<name>JavadocViewerService</name> <name>JavadocViewerService</name>
@@ -31,7 +31,7 @@
<developerConnection>scm:git:https://git.mein-gateway.de/thischwa/JavadocViewerService.git</developerConnection> <developerConnection>scm:git:https://git.mein-gateway.de/thischwa/JavadocViewerService.git</developerConnection>
<connection>scm:git:https://git.mein-gateway.de/thischwa/JavadocViewerService.git</connection> <connection>scm:git:https://git.mein-gateway.de/thischwa/JavadocViewerService.git</connection>
<url>https://git.mein-gateway.de/thischwa/JavadocViewerService</url> <url>https://git.mein-gateway.de/thischwa/JavadocViewerService</url>
<tag>v0.1.0</tag> <tag>HEAD</tag>
</scm> </scm>
<distributionManagement> <distributionManagement>