diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index fc194f9..78a6d9b 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -34,8 +34,7 @@ jobs: context: '.' file: 'Dockerfile.linux.amd64' push: true - tags: | - cr.simoncor.net/siempie/start-simoncor-net:latest + tags: 'cr.simoncor.net/siempie/start-simoncor-net:latest,cr.simoncor.net/siempie/start-simoncor-net:${{ gitea.sha }}' # ansible deployment @@ -62,4 +61,5 @@ jobs: # command script: | - sudo /usr/local/bin/ansible-playbook /etc/ansible/playbooks/production/start.yaml + sudo -u simon kubectl apply -f /home/simon/Documents/kaas-start-simoncor-net/manifests + sudo -u simon kubectl rollout restart --namespace=start-simoncor-net deployment start-simoncor-net