Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/build_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ensure_build_container "${DOCKERFILE_BUILD}"

DOCKERFILE_DEPLOY="$ABSOLUTE_PATH/Dockerfile.deploy/Dockerfile"

docker build -t "${IMAGE}:${IMAGE_TAG}" $DOCKERFILE_DEPLOY
docker build -t "${IMAGE}:${IMAGE_TAG}" -f $DOCKERFILE_DEPLOY .
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we dropped -f in 071c112 (#24). What changed to make it required again?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh, de5b199 (#222) shifted this from a $RELEASE_OUTPUT_DIR directory to a $DOCKERFILE_DEPLOY Dockerfile.

/lgtm

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In #24 the script was reworked to create a temp dir and copying binaries produced by cargo build --release there. In multistage build its no longer required, so the context is set to the whole dir and it requires the path to dockerfile


if [[ -n "$QUAY_USER" && -n "$QUAY_TOKEN" ]]; then
DOCKER_CONF="$PWD/.docker"
Expand Down