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@sha256:8458ed6dd328b1306918a45189dcb1803adade791f7040f03eff4a0c14ea21f9 steps: - name: debug shell: bash run: | apt info podman-docker type docker - 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