From 7022d491ce1407cb94236cf99dae43e72bd06f7b Mon Sep 17 00:00:00 2001 From: joelson Date: Mon, 5 Jan 2026 12:12:54 -0300 Subject: [PATCH] feat: add deployment workflow for vendaweb-api --- .gitea/{ => workflows}/deploy-api.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename .gitea/{ => workflows}/deploy-api.yaml (51%) 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: |