ci: switched from branch to version

This commit is contained in:
robin committed 2026-09-03 14:12:28 +00:00
1 parent 1544608eeb
commit f101e0aaaf
1 file changed
+2 -3
+2 -3
View File
@@ -26,7 +26,6 @@ jobs:
VERSION=$(jq -r '.version' package.json)
echo "VERSION=$VERSION" >> $GITHUB_ENV
# Repository-Name in Kleinbuchstaben umwandeln (z.B. schanbro/psalmtafel)
REPO_LOWER=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
echo "REPO_LOWER=$REPO_LOWER" >> $GITHUB_ENV
@@ -41,12 +40,12 @@ jobs:
context: .
push: false
tags: |
gitea:3000/${{ env.REPO_LOWER }}:${{ github.ref_name }}
gitea:3000/${{ env.REPO_LOWER }}:v${{ env.VERSION }}
gitea:3000/${{ env.REPO_LOWER }}:latest
- name: Images zu Gitea pushen
run: |
docker push gitea:3000/${{ env.REPO_LOWER }}:${{ github.ref_name }}
docker push gitea:3000/${{ env.REPO_LOWER }}:v${{ env.VERSION }}
docker push gitea:3000/${{ env.REPO_LOWER }}:latest
create-release: