Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KalinaLadnay authored Mar 24, 2021
1 parent a01d6db commit b3ad99a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b3ad99a

Please sign in to comment.