Skip to content

Commit

Permalink
[OPIK-256]: add line breaks to build_and_push_docker.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
aadereiko committed Feb 28, 2025
1 parent 568cc71 commit 64df7f8
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/build_and_push_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ jobs:
run: |
DOCKER_IMAGE_NAME=${{env.DOCKER_REGISTRY}}/${{ inputs.image }}:${{inputs.version}}
echo "DOCKER_IMAGE_NAME=${DOCKER_IMAGE_NAME}" | tee -a $GITHUB_ENV
DOCKER_BUILDKIT=1
docker build
--build-arg OPIK_VERSION=${{inputs.version}}
--build-arg SENTRY_ENABLED=true
DOCKER_BUILDKIT=1 \
docker build \
--build-arg OPIK_VERSION=${{inputs.version}} \
--build-arg SENTRY_ENABLED=true \
-t ${DOCKER_IMAGE_NAME} .
- name: Build Docker Image for Comet integration
Expand All @@ -66,9 +66,10 @@ jobs:
DOCKER_IMAGE_NAME_COMET=${{env.DOCKER_REGISTRY}}/${{inputs.image}}-comet:${{inputs.version}}
echo "DOCKER_IMAGE_NAME_COMET=${DOCKER_IMAGE_NAME_COMET}" | tee -a $GITHUB_ENV
DOCKER_BUILDKIT=1
docker build --build-arg ${{inputs.comet_build_args}}
--build-arg OPIK_VERSION=${{inputs.version}}
--build-arg SENTRY_ENABLED=true
docker build \
--build-arg ${{inputs.comet_build_args}} \
--build-arg OPIK_VERSION=${{inputs.version}} \
--build-arg SENTRY_ENABLED=true \
-t ${DOCKER_IMAGE_NAME_COMET} .
- name: Login to GHCR
Expand Down

0 comments on commit 64df7f8

Please sign in to comment.