Skip to content

Commit

Permalink
fix: simple docker build (no buildx)
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBeucher committed Jul 31, 2024
1 parent 316fb5e commit 684f587
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- ubuntu-20.04
# - macos-14 # Docker install suported yet
# - macos-13 # Couldn't have a stable install of Docker on Mac yet, docker build keeps failing as if command is not recognized...
# - macos-12
- macos-12

steps:
- name: Checkout repository
Expand Down
4 changes: 2 additions & 2 deletions cloudypad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ RUN if [ "$(id -u $HOST_UID)" -ne 0 ] >/dev/null 2>&1; then \
USER $HOST_UID
EOF

container_build_output=$(docker buildx build -t $CLOUDYPAD_TARGET_IMAGE - < /tmp/Dockerfile-cloudypad-run 2>&1)
container_build_output=$(docker build -t $CLOUDYPAD_TARGET_IMAGE - < /tmp/Dockerfile-cloudypad-run 2>&1)
container_build_result=$?

if [ $container_build_result -ne 0 ]; then
echo "Error: could not build CloudyPad container image, build exited with code: $container_build_result" >&2
echo "Build command was: docker buildx build -t $CLOUDYPAD_TARGET_IMAGE - < /tmp/Dockerfile-cloudypad-run 2>&1" >&2
echo "Build command was: docker build -t $CLOUDYPAD_TARGET_IMAGE - < /tmp/Dockerfile-cloudypad-run 2>&1" >&2
echo "Build output: "
echo "$container_build_output"
echo
Expand Down

0 comments on commit 684f587

Please sign in to comment.