Skip to content

Commit

Permalink
🔖 Build update
Browse files Browse the repository at this point in the history
  • Loading branch information
abdheshnayak committed Feb 8, 2024
1 parent 1389e69 commit ead116b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ jobs:
set +e
image_name="ghcr.io/${{ github.repository }}/${{matrix.app}}"
docker manifest inspect $image_name:$IMAGE_TAG
docker manifest inspect $image_name:test
exit_status=$?
if [ $exit_status -eq 0 ]; then
[ "$OVERRIDE_PUSHED_IMAGE" = "false" ] && echo "image ($image_name:$IMAGE_TAG) already exists, and override image is disable, exiting" && exit 0
echo "image exists, but override pushed image is set to true. proceeding with building image"
fi
set -e
set -
docker build --build-arg APP=${{matrix.app}} -f ${{matrix.dockerFile}} . -t "$image_name:$IMAGE_TAG"
Expand Down

0 comments on commit ead116b

Please sign in to comment.