Skip to content

Commit 355095e

Browse files
ci: fix Docker build step formatting in workflow
Corrected line continuation and indentation in ci-pipeline.yml so the `docker build` command parses properly in GitHub Actions. This ensures BUILD_ID is passed as an argument and tagged images use the run_id without YAML errors.
1 parent 92de10c commit 355095e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci-pipeline.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525

2626
- name: Build sample image
2727
run: |
28-
docker build --build-arg BUILD_ID=${{ github.run_id }} \
28+
docker build \
29+
--build-arg BUILD_ID=${{ github.run_id }} \
2930
-t myorg/sample-app:ci-${{ github.run_id }} \
3031
./exercises/02-containerize-app/app
3132

0 commit comments

Comments
 (0)