Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoCunha-19 committed May 18, 2024
2 parents 0896c00 + 495e0c4 commit b6b6879
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ jobs:
docker build -t authorization_server authorization_server/
docker build -t client client/
- name: Create Docker tags
run: |
docker tag resource_server $DOCKER_REPOSITORY:resource_server_latest
docker tag authorization_server $DOCKER_REPOSITORY:authorization_server_latest
docker tag client $DOCKER_REPOSITORY:client_latest
- name: Login to DockerHub
uses: docker/login-action@v1
with:
Expand All @@ -149,9 +155,6 @@ jobs:

- name: Push Docker images
run: |
docker tag resource_server $DOCKER_REPOSITORY/resource_server:latest
docker tag authorization_server $DOCKER_REPOSITORY/authorization_server:latest
docker tag client $DOCKER_REPOSITORY/client:latest
docker push $DOCKER_REPOSITORY/resource_server:latest
docker push $DOCKER_REPOSITORY/authorization_server:latest
docker push $DOCKER_REPOSITORY/client:latest
docker push $DOCKER_REPOSITORY:resource_server_latest
docker push $DOCKER_REPOSITORY:authorization_server_latest
docker push $DOCKER_REPOSITORY:client_latest

0 comments on commit b6b6879

Please sign in to comment.