Skip to content

Commit b0b243d

Browse files
pipeline latest
1 parent 9095016 commit b0b243d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build-docker-image.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ jobs:
5656
cd src/ContentProcessor
5757
IMAGE_NAME="$ACR_LOGIN_SERVER/contentprocessor:${TAG}"
5858
echo "Using image name: ${IMAGE_NAME}"
59-
docker build -t ${IMAGE_NAME} -f .devcontainer/Dockerfile .
59+
# Use the Dockerfile from the root folder of ContentProcessor
60+
docker build -t ${IMAGE_NAME} -f Dockerfile .
6061
if [[ "${TAG}" == latest-* || "${TAG}" == dev-* || "${TAG}" == demo-* || "${TAG}" == hotfix-* ]]; then
6162
docker push ${IMAGE_NAME}
6263
echo "ContentProcessor image built and pushed successfully."
@@ -69,7 +70,8 @@ jobs:
6970
cd src/ContentProcessorAPI
7071
IMAGE_NAME="$ACR_LOGIN_SERVER/contentprocessorapi:${TAG}"
7172
echo "Using image name: ${IMAGE_NAME}"
72-
docker build -t ${IMAGE_NAME} -f .devcontainer/Dockerfile .
73+
# Use the Dockerfile from the root folder of ContentProcessorAPI
74+
docker build -t ${IMAGE_NAME} -f Dockerfile .
7375
if [[ "${TAG}" == latest-* || "${TAG}" == dev-* || "${TAG}" == demo-* || "${TAG}" == hotfix-* ]]; then
7476
docker push ${IMAGE_NAME}
7577
echo "ContentProcessorAPI image built and pushed successfully."
@@ -82,7 +84,8 @@ jobs:
8284
cd src/ContentProcessorWeb
8385
IMAGE_NAME="$ACR_LOGIN_SERVER/contentprocessorweb:${TAG}"
8486
echo "Using image name: ${IMAGE_NAME}"
85-
docker build -t ${IMAGE_NAME} -f .devcontainer/base.Dockerfile .
87+
# Use the Dockerfile from the root folder of ContentProcessorWeb
88+
docker build -t ${IMAGE_NAME} -f Dockerfile .
8689
if [[ "${TAG}" == latest-* || "${TAG}" == dev-* || "${TAG}" == demo-* || "${TAG}" == hotfix-* ]]; then
8790
docker push ${IMAGE_NAME}
8891
echo "ContentProcessorWeb image built and pushed successfully."

0 commit comments

Comments
 (0)