feat: add deployment workflow for vendaweb-api
Deploy vendaweb-api / build-and-push-deploy (push) Failing after 1m19s
Details
Deploy vendaweb-api / build-and-push-deploy (push) Failing after 1m19s
Details
This commit is contained in:
parent
c4e8996a22
commit
7022d491ce
|
|
@ -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: |
|
||||
Loading…
Reference in New Issue