Skip to content

Commit

Permalink
3.17-20250223 debug
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriWahl committed Feb 23, 2025
1 parent 1ddfd01 commit 5b06bd0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-release-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
# somehow weird way to get the hash over the Dockerfile to be aware if it changed
- id: dockerfile_hash
run: echo "HASH=$(md5sum build/dockerfile/Dockerfile-${{ github.job }} | cut -d\ -f1)" >> $GITHUB_OUTPUT
run: echo "HASH=$(md5sum build/docker/Dockerfile-${{ github.job }} | cut -d\ -f1)" >> $GITHUB_OUTPUT
# if image defined by variable steps.dockerfile_hash.outputs.HASH is not pullable aka does not exist it will be created and pushed
- run: docker pull ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }} || /usr/bin/docker build -t ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }} -f build/docker/Dockerfile-${{ github.job }} .
- run: docker push ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }}
Expand All @@ -86,7 +86,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
# somehow weird way to get the hash over the Dockerfile to be aware if it changed
- id: dockerfile_hash
run: echo "HASH=$(md5sum build/dockerfile/Dockerfile-${{ github.job }} | cut -d\ -f1)" >> $GITHUB_OUTPUT
run: echo "HASH=$(md5sum build/docker/Dockerfile-${{ github.job }} | cut -d\ -f1)" >> $GITHUB_OUTPUT
# if image defined by variable steps.dockerfile_hash.outputs.HASH is not pullable aka does not exist it will be created and pushed
- run: docker pull ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }} || /usr/bin/docker build -t ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }} -f build/docker/Dockerfile-${{ github.job }} .
- run: docker push ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }}
Expand All @@ -112,7 +112,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
# somehow weird way to get the hash over the Dockerfile to be aware if it changed
- id: dockerfile_hash
run: echo "HASH=$(md5sum build/dockerfile/Dockerfile-${{ github.job }} | cut -d\ -f1)" >> $GITHUB_OUTPUT
run: echo "HASH=$(md5sum build/docker/Dockerfile-${{ github.job }} | cut -d\ -f1)" >> $GITHUB_OUTPUT
# if image defined by variable steps.dockerfile_hash.outputs.HASH is not pullable aka does not exist it will be created and pushed
- run: docker pull ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }} || /usr/bin/docker build -t ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }} -f build/docker/Dockerfile-${{ github.job }} .
- run: docker push ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }}
Expand All @@ -138,7 +138,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
# somehow weird way to get the hash over the Dockerfile to be aware if it changed
- id: dockerfile_hash
run: echo "HASH=$(md5sum build/dockerfile/Dockerfile-${{ github.job }} | cut -d\ -f1)" >> $GITHUB_OUTPUT
run: echo "HASH=$(md5sum build/docker/Dockerfile-${{ github.job }} | cut -d\ -f1)" >> $GITHUB_OUTPUT
# if image defined by variable steps.dockerfile_hash.outputs.HASH is not pullable aka does not exist it will be created and pushed
- run: docker pull ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }} || /usr/bin/docker build -t ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }} -f build/docker/Dockerfile-${{ github.job }} .
- run: docker push ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }}
Expand All @@ -164,7 +164,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
# somehow weird way to get the hash over the Dockerfile to be aware if it changed
- id: dockerfile_hash
run: echo "HASH=$(md5sum build/dockerfile/Dockerfile-${{ github.job }} | cut -d\ -f1)" >> $GITHUB_OUTPUT
run: echo "HASH=$(md5sum build/docker/Dockerfile-${{ github.job }} | cut -d\ -f1)" >> $GITHUB_OUTPUT
# if image defined by variable steps.dockerfile_hash.outputs.HASH is not pullable aka does not exist it will be created and pushed
- run: docker pull ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }} || /usr/bin/docker build -t ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }} -f build/docker/Dockerfile-${{ github.job }} .
- run: docker push ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }}
Expand All @@ -190,7 +190,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
# somehow weird way to get the hash over the Dockerfile to be aware if it changed
- id: dockerfile_hash
run: echo "HASH=$(md5sum build/dockerfile/Dockerfile-${{ github.job }} | cut -d\ -f1)" >> $GITHUB_OUTPUT
run: echo "HASH=$(md5sum build/docker/Dockerfile-${{ github.job }} | cut -d\ -f1)" >> $GITHUB_OUTPUT
# if image defined by variable steps.dockerfile_hash.outputs.HASH is not pullable aka does not exist it will be created and pushed
- run: docker pull ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }} || /usr/bin/docker build -t ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }} -f build/docker/Dockerfile-${{ github.job }} .
- run: docker push ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }}
Expand All @@ -216,7 +216,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
# somehow weird way to get the hash over the Dockerfile to be aware if it changed
- id: dockerfile_hash
run: echo "HASH=$(md5sum build/dockerfile/Dockerfile-${{ github.job }} | cut -d\ -f1)" >> $GITHUB_OUTPUT
run: echo "HASH=$(md5sum build/docker/Dockerfile-${{ github.job }} | cut -d\ -f1)" >> $GITHUB_OUTPUT
# if image defined by variable steps.dockerfile_hash.outputs.HASH is not pullable aka does not exist it will be created and pushed
- run: docker pull ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }} || /usr/bin/docker build -t ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }} -f build/docker/Dockerfile-${{ github.job }} .
- run: docker push ${{ env.cr_image }}-${{ github.job }}:${{ steps.dockerfile_hash.outputs.HASH }}
Expand Down

0 comments on commit 5b06bd0

Please sign in to comment.