added build instruction

This commit is contained in:
2025-08-03 16:51:47 +02:00
parent 94eae7eaaf
commit 49a07a3002

View File

@@ -153,7 +153,9 @@ jobs:
if: ${{ success() }}
run: |
echo "Building Linux Docker-Image with env-Tag: ${{env.TAG }}"
docker build -f Dockerfile.linux -t ${{ env.IMAGE_NAME }}:linux-${{ env.TAG }} .
docker build -f Dockerfile.linux \
--build-arg BINARY_NAME=${{ needs.detect-project.outputs.project-name }} \
-t ${{ env.IMAGE_NAME }}:linux-${{ env.TAG }} .
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login git.triggermeelmo.com -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
echo "Tagging Linux Docker image"
docker tag ${{ env.IMAGE_NAME }}:linux-${{ env.TAG }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:linux-${{ env.TAG }}