From 5fa03dafef07da061d7156155dca1b119850a327 Mon Sep 17 00:00:00 2001 From: denismaggior8 Date: Wed, 27 Sep 2023 12:29:04 +0200 Subject: [PATCH] build-customer build-push-action@v4.2.1 --- .github/workflows/build-docker-images.yaml | 4 ++-- .vscode/settings.json | 3 +++ labs/02-eCommerce_microservices/notification/pom.xml | 8 ++++---- 3 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.github/workflows/build-docker-images.yaml b/.github/workflows/build-docker-images.yaml index b28330b..c0ca95f 100644 --- a/.github/workflows/build-docker-images.yaml +++ b/.github/workflows/build-docker-images.yaml @@ -28,7 +28,7 @@ jobs: id: get_commit_sha run: echo ::set-output name=COMMIT_SHA::$(git rev-parse --short "$GITHUB_SHA") - name: Build and push Docker image - uses: docker/build-push-action@v1.1.0 + uses: docker/build-push-action@v4.2.1 with: path: labs/02-eCommerce_microservices/customer/ dockerfile: labs/02-eCommerce_microservices/customer/Dockerfile @@ -38,7 +38,7 @@ jobs: tags: ${{ steps.get_commit_sha.outputs.COMMIT_SHA }}-${{ steps.get_branch.outputs.BRANCH }}, latest build_args: | TAG=${{ steps.get_commit_sha.outputs.COMMIT_SHA }}-${{ steps.get_branch.outputs.BRANCH }} - add-hosts: customer-mongodb=127.0.0.1,order-postgres=127.0.0.1,kafka=127.0.0.1 + add-hosts: customer-mongodb:127.0.0.1,order-postgres:127.0.0.1,kafka:127.0.0.1 build-order: runs-on: ubuntu-latest diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..0e14d8e --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "java.configuration.updateBuildConfiguration": "disabled" +} \ No newline at end of file diff --git a/labs/02-eCommerce_microservices/notification/pom.xml b/labs/02-eCommerce_microservices/notification/pom.xml index cf5a5ca..cb8debe 100644 --- a/labs/02-eCommerce_microservices/notification/pom.xml +++ b/labs/02-eCommerce_microservices/notification/pom.xml @@ -61,11 +61,11 @@ - + @@ -122,11 +122,11 @@ - +