Skip to content

Commit

Permalink
Add more conditions for Docker pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanHCenalmor authored Jan 22, 2025
1 parent f712b85 commit 7516937
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build_docker_images_aux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ jobs:
build_only_arm64:
name: Only push ARM64 to Docker Hub
if: ${{ always() && contains(needs.build_amd64.result, 'failure') }}
if: ${{ always() && contains(needs.build_amd64.result, 'failure') && contains(needs.build_arm64.result, 'success') }}
needs:
- get_arguments
- build_amd64
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
build_only_amd64:
name: Only push AMD64 to Docker Hub
if: ${{ always() && contains(needs.build_arm64.result, 'failure') }}
if: ${{ always() && contains(needs.build_arm64.result, 'failure') && contains(needs.build_amd64.result, 'success') }}
needs:
- get_arguments
- build_amd64
Expand Down Expand Up @@ -265,6 +265,7 @@ jobs:
build_multi_architecture:
name: Both push AMD64 and ARM64 to Docker Hub
if: ${{ always() && contains(needs.build_arm64.result, 'success') && contains(needs.build_amd64.result, 'success') }}
needs:
- get_arguments
- build_amd64
Expand Down

0 comments on commit 7516937

Please sign in to comment.