Skip to content

fix dockerfile

fix dockerfile #92

Triggered via push August 19, 2024 06:40
Status Failure
Total duration 8m 49s
Artifacts

deploy.yml

on: push
Build docker images
8m 37s
Build docker images
Build pgo docker image
0s
Build pgo docker image
Deploy to GKE
0s
Deploy to GKE
Deploy pgo-worker to GKE
0s
Deploy pgo-worker to GKE
Run benchmarks tests
0s
Run benchmarks tests
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
Build docker images
buildx failed with: ERROR: failed to solve: process "/bin/sh -c set -eux\n\n# need to change workdir instead of using --manifest-path because we need\n# .cargo/config.toml\ncd /src\n\nTARGET=\"\"\nCARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=\"\"\ncase ${TARGETARCH} in \\\n arm64) TARGET=\"aarch64-unknown-linux-gnu\" CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=\"/usr/bin/aarch64-linux-gnu-gcc\";; \\\n amd64) TARGET=\"x86_64-unknown-linux-gnu\" RUSTFLAGS=\"$RUSTFLAGS -C target-cpu=native \";; \\\n *) exit 1 ;; \\\nesac\n\n# use the cache mount\n# (we will not be able to to write to e.g `/src/target` because it is bind-mounted)\nCARGO_TARGET_DIR=/artifacts cargo build --locked \"--profile=${PROFILE}\" \"--target=${TARGET}\" --all\n\n# narrow the find call to SUBDIR because if we just copy out all executables\n# we will break the cache invariant\nif [ \"$PROFILE\" = \"dev\" ]; then\n SUBDIR=debug # edge case\nelse\n SUBDIR=$PROFILE\nfi\n\n# maxdepth because binaries are in the root\n# - other folders contain build scripts etc.\nmkdir /output\nfind \"/artifacts/$TARGET/$SUBDIR\" \\\n -maxdepth 1 \\\n -type f \\\n -executable \\\n -not -name '*.so' \\\n -exec cp '{}' /output \\; \\\n -print\n\n" did not complete successfully: exit code: 101
Build docker images
The following actions use a deprecated Node.js version and will be forced to run on node20: google-github-actions/setup-gcloud@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/