fix: repo to Lower
This commit is contained in:
1 parent
26bb103535
commit
a6f1c0e967
1 file changed
+9
-2
@@ -22,6 +22,13 @@ jobs:
|
|||||||
username: ${{ gitea.actor }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.RELEASE_TOKEN }}
|
password: ${{ secrets.RELEASE_TOKEN }}
|
||||||
# 'toLower()' is not implemented
|
# 'toLower()' is not implemented
|
||||||
|
- name: Repository kleinschreiben
|
||||||
|
id: lowercase
|
||||||
|
env:
|
||||||
|
REPO: ${{ gitea.repository }}
|
||||||
|
run: |
|
||||||
|
echo "repo=$(printf '%s' "$REPO" | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
env:
|
env:
|
||||||
@@ -30,8 +37,8 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
git.schamagusa.de/${REPO,,}:${{ gitea.ref_name }}
|
git.schamagusa.de/${{ steps.lowercase.outputs.repo }}:${{ gitea.ref_name }}
|
||||||
git.schamagusa.de/${REPO,,}:latest
|
git.schamagusa.de/${{ steps.lowercase.outputs.repo }}:latest
|
||||||
|
|
||||||
- name: Prepare release notes
|
- name: Prepare release notes
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in new issue
Block a user