Skip to content

Commit

Permalink
[TASK] Patch mockapi dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sbuerk committed Sep 27, 2024
1 parent ba5e7cb commit 09c8d65
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,13 @@ jobs:
shell: bash
if: success() && env.DO_BUILD == 1
run: |
git clone --depth=1 --branch ${BUILD_RELEASE_VERSION} https://github.com/DeepLcom/deepl-mock.git wv-deeplmockapi-server
git clone \
--depth=1 \
--branch ${BUILD_RELEASE_VERSION} \
https://github.com/DeepLcom/deepl-mock.git wv-deeplmockapi-server
echo ">> Patch DeepL Mock Api Server Docker file to expose only port 3000"
sed "s/EXPOSE.*/EXPOSE 3000/g" wv-deeplmockapi-server/Dockerfile
- name: Build and export to Docker
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 09c8d65

Please sign in to comment.