feat: implement Docker-based deployment and update environment configuration
Some checks failed
/ build-push (push) Has been cancelled
Some checks failed
/ build-push (push) Has been cancelled
This commit is contained in:
14
.gitea/workflows/deploy.yaml
Normal file
14
.gitea/workflows/deploy.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
on: [push]
|
||||
jobs:
|
||||
build-push:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Login Harbor
|
||||
run: echo "${{ secrets.HARBOR_PASSWORD }}" | docker login 172.35.0.216 -u ${{ secrets.HARBOR_USERNAME }} --password-stdin
|
||||
- name: Build/Push
|
||||
run: |
|
||||
docker build -t 172.35.0.216/library/vendaweb-portal:latest .
|
||||
docker push 172.35.0.216/library/vendaweb-portal:latest
|
||||
- name: Webhook Portainer
|
||||
run: curl -X POST "${{ secrets.PORTAINER_WEBHOOK_FRONT }}"
|
||||
Reference in New Issue
Block a user