From b3ad99a54cc5243195460f124ac53f59c0abf133 Mon Sep 17 00:00:00 2001 From: KalinaLadnay <37223815+KalinaLadnay@users.noreply.github.com> Date: Wed, 24 Mar 2021 16:11:09 +0300 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9384ae6..9db6346 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,7 @@ jobs: password: ${{ secrets.REGISTRY_PASSWORD }} - run: | cd ./src/poi - docker build . -f ./../../dockerfiles/Dockerfile_3 --no-cache --build-arg IMAGE_VERSION="1.0" --build-arg IMAGE_CREATE_DATE="`date -u +"%Y-%m-%dT%H:%M:%SZ"`" --build-arg IMAGE_SOURCE_REVISION="`git rev-parse HEAD`"-t ${{ secrets.REGISTRY_LOGIN_SERVER }}/tripinsights/poi:1.0 + docker build --no-cache --build-arg IMAGE_VERSION="1.0" --build-arg IMAGE_CREATE_DATE="`date -u +"%Y-%m-%dT%H:%M:%SZ"`" --build-arg IMAGE_SOURCE_REVISION="`git rev-parse HEAD`" . -f ./../../dockerfiles/Dockerfile_3 -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/tripinsights/poi:1.0 docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/tripinsights/poi:1.0 cd ../../src/user-java docker build --no-cache --build-arg IMAGE_VERSION="1.0" --build-arg IMAGE_CREATE_DATE="`date -u +"%Y-%m-%dT%H:%M:%SZ"`" --build-arg IMAGE_SOURCE_REVISION="`git rev-parse HEAD`" . -f ./../../dockerfiles/Dockerfile_0 -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/tripinsights/user-java:1.0 @@ -31,7 +31,7 @@ jobs: docker build . -f ./../../dockerfiles/Dockerfile_1 --no-cache --build-arg IMAGE_VERSION="1.0" --build-arg IMAGE_CREATE_DATE="`date -u +"%Y-%m-%dT%H:%M:%SZ"`" --build-arg IMAGE_SOURCE_REVISION="`git rev-parse HEAD`" -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/tripinsights/tripviewer:1.0 docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/tripinsights/tripviewer:1.0 cd .../../src/userprofile - docker build . -f ./../../dockerfiles/Dockerfile_2 --no-cache --build-arg IMAGE_VERSION="1.0" --build-arg IMAGE_CREATE_DATE="`date -u +"%Y-%m-%dT%H:%M:%SZ"`" --build-arg IMAGE_SOURCE_REVISION="`git rev-parse HEAD`"-t ${{ secrets.REGISTRY_LOGIN_SERVER }}/tripinsights/userprofile:1.0 + docker build . -f ./../../dockerfiles/Dockerfile_2 --no-cache --build-arg IMAGE_VERSION="1.0" --build-arg IMAGE_CREATE_DATE="`date -u +"%Y-%m-%dT%H:%M:%SZ"`" --build-arg IMAGE_SOURCE_REVISION="`git rev-parse HEAD`" -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/tripinsights/userprofile:1.0 docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/tripinsights/userprofile:1.0 cd ../../src/trip docker build . -f ./../../dockerfiles/Dockerfile_4 --no-cache --build-arg IMAGE_VERSION="1.0" --build-arg IMAGE_CREATE_DATE="`date -u +"%Y-%m-%dT%H:%M:%SZ"`" --build-arg IMAGE_SOURCE_REVISION="`git rev-parse HEAD`" -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/tripinsights/trips:1.0