Fix workflow: hardcode registry URL instead of vars context
All checks were successful
Build & Push Docker Image / build-and-push (push) Successful in 1m44s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Patrick Asmus
2026-07-03 09:04:07 +02:00
parent 4dae5477ce
commit 21c7a07f89

View File

@@ -21,18 +21,18 @@ jobs:
- name: Bei Registry einloggen
run: |
echo "${{ secrets.REGISTRY_TOKEN }}" | \
docker login ${{ vars.REGISTRY_URL }} \
docker login git.techniverse.net \
--username "${{ secrets.REGISTRY_USER }}" \
--password-stdin
- name: Docker Image bauen
run: |
docker build \
-t ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ steps.version.outputs.VERSION }} \
-t ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:latest \
-t git.techniverse.net/${{ gitea.repository }}:${{ steps.version.outputs.VERSION }} \
-t git.techniverse.net/${{ gitea.repository }}:latest \
.
- name: Docker Image pushen
run: |
docker push ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ steps.version.outputs.VERSION }}
docker push ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:latest
docker push git.techniverse.net/${{ gitea.repository }}:${{ steps.version.outputs.VERSION }}
docker push git.techniverse.net/${{ gitea.repository }}:latest