1 Commits
0.1.1 ... 0.1.0

Author SHA1 Message Date
f49530653b Merge pull request 'initial Release request' (#1) from dev into main
Some checks failed
Build and Deploy Versioned Spring Boot Server / build (push) Failing after 9m45s
Reviewed-on: #1
2025-01-12 01:46:30 -08:00

View File

@@ -2,8 +2,8 @@ name: Build and Deploy Versioned Spring Boot Server
on:
push:
tags:
- "*" # Match all tags
tags: # Match all tags
- "*"
jobs:
build:
@@ -43,11 +43,7 @@ jobs:
- name: Extract Tag Version
id: extract_version
run: |
TAG_VERSION=$(echo "${GITHUB_REF}" | sed 's#refs/tags/##')
if [ -z "$TAG_VERSION" ]; then
echo "Error: TAG_VERSION is empty."
exit 1
fi
TAG_VERSION=${GITEA_REF#refs/tags/}
echo "TAG_VERSION=$TAG_VERSION" >> $GITHUB_ENV
# 7. Build the Docker image with the tag