Fix docker build command line continuation

This commit is contained in:
masoud
2025-12-06 18:27:33 +00:00
parent 9146391928
commit 22b5ce3927

View File

@@ -24,8 +24,8 @@ jobs:
run: apk add --no-cache git run: apk add --no-cache git
- name: Clone repo - name: Clone repo
run: | run: |
git clone --depth 1 --branch kub-stage http://gitea-svc:3000/admin/BackOffice.git . git clone --depth 1 --branch kub-stage http://gitea-svc:3000/admin/BackOffice.git .
- name: Start Docker daemon with insecure registry - name: Start Docker daemon with insecure registry
run: | run: |
@@ -56,8 +56,8 @@ jobs:
- name: Build Docker Image - name: Build Docker Image
run: | run: |
cd src cd src
docker build -f BackOffice/Dockerfile docker build -f BackOffice/Dockerfile \
-t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }} \ -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }} \
-t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest \ -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest \
--build-arg HTTP_PROXY=http://proxyuser:87zH26nbqT2@46.249.98.211:3128 \ --build-arg HTTP_PROXY=http://proxyuser:87zH26nbqT2@46.249.98.211:3128 \
--build-arg HTTPS_PROXY=http://proxyuser:87zH26nbqT2@46.249.98.211:3128 \ --build-arg HTTPS_PROXY=http://proxyuser:87zH26nbqT2@46.249.98.211:3128 \