probando xd
All checks were successful
build-and-push / build (push) Successful in 6s

This commit is contained in:
2025-05-02 16:12:03 -06:00
parent 86c913f197
commit 16d17d4a57

View File

@@ -20,7 +20,7 @@ jobs:
registry: gitea.interno.com
username: nucleo000
password: 7bc7b2fcd283bd6a251bef3ede368b7f897c919d
- name: Build
run: docker build -t gitea.interno.com/nucleo000/planilla:${{ github.sha }} -t gitea.interno.com/nucleo000/planilla:latest .
@@ -29,3 +29,19 @@ jobs:
docker push gitea.interno.com/nucleo000/planilla:${{ github.sha }}
docker push gitea.interno.com/nucleo000/planilla:latest
deploy:
runs-on: docker
needs: build
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to registry
run: docker login gitea.interno.com -u nucleo000 -p 7bc7b2fcd283bd6a251bef3ede368b7f897c919d
- name: Pull latest image
run: docker pull gitea.interno.com/nucleo000/planilla:latest
- name: Restart container
run: docker compose up -d planilla