on: push: branches: - test env: REGISTRY: forge.hornwitser.no REGISTRY_IMAGE: forge.hornwitser.no/hornwitser/schedule-demo jobs: build: runs-on: debian container: image: forge.hornwitser.no/hornwitser/builder:test steps: - name: Authenticate uses: docker/login-action@v3 with: username: runner password: ${{ secrets.REGISTRY_TOKEN }} registry: ${{ env.REGISTRY }} - name: Get commit info id: info shell: bash run: | tee -a ${GITHUB_OUTPUT} < ~/.kube/config <<"EOF" ${{ secrets.KUBECONFIG_CONTENT }} EOF kubectl config view kubectl config use-context flux-sandbox - name: Deploy run: | kubectl rollout restart \ -n schedule-demo \ deployment website