login added again

This commit is contained in:
2025-08-02 22:02:55 +02:00
parent 75e28ad198
commit d51fa3093a

View File

@@ -150,14 +150,18 @@ jobs:
- name: Build Linux Docker image
if: ${{ always() && steps.download-linux.outcome == 'success' }}
run: |
echo "Building Linux Docker-Image with env-Tag: ${{env.TAG }}"
docker build -f Dockerfile.linux -t ${{ env.IMAGE_NAME }}:linux-${{ env.TAG }} .
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login git.triggermeelmo.com -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker tag ${{ env.IMAGE_NAME }}:linux-${{ env.TAG }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:linux-${{ env.TAG }}
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:linux-${{ env.TAG }}
- name: Build Windows Docker image
if: ${{ always() && steps.download-windows.outcome == 'success' }}
run: |
echo "Building Windows Docker-Image with env-Tag: ${{env.TAG }}"
docker build -f Dockerfile.windows -t ${{ env.IMAGE_NAME }}:windows-${{ env.TAG }} .
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login git.triggermeelmo.com -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker tag ${{ env.IMAGE_NAME }}:windows-${{ env.TAG }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:windows-${{ env.TAG }}
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:windows-${{ env.TAG }}