diff --git a/.gitea/deploy-api.yaml b/.gitea/workflows/deploy-api.yaml similarity index 51% rename from .gitea/deploy-api.yaml rename to .gitea/workflows/deploy-api.yaml index eea3ff1..2fb2dd2 100644 --- a/.gitea/deploy-api.yaml +++ b/.gitea/workflows/deploy-api.yaml @@ -10,16 +10,16 @@ jobs: - name: Login no Harbor run: | - echo "${{ secrets.HARBOR_PASSWORD }}" | docker login harbor.jurunense.com -u ${{ secrets.HARBOR_USERNAME }} --password-stdin + echo "${{ secrets.HARBOR_PASSWORD }}" | docker login 10.1.1.124:8082 -u ${{ secrets.HARBOR_USERNAME }} --password-stdin - name: Build e Push run: | TAG=${{ gitea.sha }} - docker build -t harbor.jurunense.com/library/vendaweb-api:$TAG . - docker tag harbor.jurunense.com/library/vendaweb-api:$TAG harbor.jurunense.com/library/vendaweb-api:latest + docker build -t 10.1.1.124:8082/library/vendaweb-api:$TAG . + docker tag 10.1.1.124:8082/library/vendaweb-api:$TAG 10.1.1.124:8082/library/vendaweb-api:latest - docker push harbor.jurunense.com/library/vendaweb-api:$TAG - docker push harbor.jurunense.com/library/vendaweb-api:latest + docker push 10.1.1.124:8082/library/vendaweb-api:$TAG + docker push 10.1.1.124:8082/library/vendaweb-api:latest - name: Notificar Portainer via Webhook run: |