simplified success statemtn
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -150,7 +150,7 @@ jobs:
|
||||
ls -la windows-bin/
|
||||
|
||||
- name: Build Linux Docker image
|
||||
if: ${{ always() && steps.download-linux.outcome == 'success' }}
|
||||
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 }} .
|
||||
@@ -159,7 +159,7 @@ jobs:
|
||||
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:linux-${{ env.TAG }}
|
||||
|
||||
- name: Build Windows Docker image
|
||||
if: ${{ always() && steps.download-windows.outcome == 'success' }}
|
||||
if: ${{ success() }}
|
||||
run: |
|
||||
echo "Building Windows Docker-Image with env-Tag: ${{env.TAG }}"
|
||||
docker build -f Dockerfile.windows -t ${{ env.IMAGE_NAME }}:windows-${{ env.TAG }} .
|
||||
|
Reference in New Issue
Block a user