From 09e1f09b12c7afc25c11217ca1c638bded52641c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20Gon=C3=A7alves?= Date: Sun, 28 Jul 2024 15:00:42 -0300 Subject: [PATCH] uncomment --- .github/workflows/deploy.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 35c4fcb..6e351ef 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,23 +9,23 @@ env: TARGET_DIR: '~/${{ github.event.repository.name }}' jobs: -# docker-hub: -# name: Docker Hub Image Push -# runs-on: ubuntu-latest -# steps: -# - name: Check out code -# uses: actions/checkout@v3 + docker-hub: + name: Docker Hub Image Push + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v3 -# - name: Sending Image to Docker Hub -# uses: mr-smithers-excellent/docker-build-push@v5 -# with: -# image: victorjorge/gerocuidado-usuario-api -# registry: docker.io -# directory: ./ -# dockerfile: ./Dockerfile.prod -# tags: latest -# username: ${{ secrets.DOCKER_HUB_USERNAME }} -# password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} + - name: Sending Image to Docker Hub + uses: mr-smithers-excellent/docker-build-push@v5 + with: + image: victorjorge/gerocuidado-usuario-api + registry: docker.io + directory: ./ + dockerfile: ./Dockerfile.prod + tags: latest + username: ${{ secrets.DOCKER_HUB_USERNAME }} + password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} deploy-ec2: name: Deploy EC2