Update
Some checks failed
CI/CD Pipeline / lint (push) Successful in 18s
CI/CD Pipeline / deploy (push) Failing after 42s

This commit is contained in:
sotos
2025-12-16 11:36:53 +01:00
parent 68a5bccc0f
commit 4f5602fb6d

View File

@@ -24,33 +24,6 @@ jobs:
run: |
yamllint .
build:
runs-on: docker
container:
image: node:20-bullseye
needs: lint
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Docker CLI
run: |
apt-get update && apt-get install -y docker.io bash git
dockerd & sleep 5
- name: Login to Gitea Registry
run: |
echo "${{ secrets.REGISTRY_PASSWORD }}" | \
docker login dns.s-martika.com \
-u "${{ secrets.REGISTRY_USER }}" \
--password-stdin
- name: Build Docker image
run: docker build -t dns.s-martika.com/smartika/snake:latest frontend/
- name: Push Docker image
run: docker push dns.s-martika.com/smartika/snake:latest
deploy:
runs-on: docker
container:
@@ -67,4 +40,4 @@ jobs:
pip3 install ansible
- name: Run Ansible deployment
run: ansible-playbook -i ansible/inventory.yaml site.yaml
run: ansible-playbook -i ../../inventory.yaml ../../site.yaml