5 Commits
Author SHA1 Message Date
renovate f7bc29169c deps: update docker/login-action action to v4
renovate/stability-days Updates have met minimum release age requirement
2026-10-15 06:09:22 +00:00
alessandrovitali 760b4cdcae add README 2026-10-13 14:33:37 +02:00
alessandrovitali 5f0c3b1306 actions: move backup into feature branch 2026-10-12 16:58:51 +02:00
alessandrovitali 598259ae9b ci: fix gitea registry token user
build / build (push) Failing after 0s
2026-10-12 16:34:05 +02:00
alessandrovitali c8d0506315 build custom runner image (#5)
build / build (push) Failing after 0s
Reviewed-on: #5
2026-10-12 15:55:11 +02:00
3 changed files with 33 additions and 15 deletions

No files matched your search

+2 -2
View File
@@ -18,10 +18,10 @@ jobs:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
steps: steps:
- uses: actions/checkout@v7 - uses: actions/checkout@v7
- uses: docker/login-action@v3 - uses: docker/login-action@v4
with: with:
registry: git.studiovita.li registry: git.studiovita.li
username: ${{ gitea.actor }} username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v6
with: with:
+31
View File
@@ -0,0 +1,31 @@
# studiovitali/actions
Shared Gitea Actions for studio CI workflows.
## Composite actions
- **[`sops`](sops/)** — install checksum-verified SOPS and decrypt `*.sops.*` files with an age key
- **[`ssh-copy`](ssh-copy/)** — `rsync` a local directory to a remote host over SSH
- **[`ssh-run`](ssh-run/)** — run a script on a remote host over SSH
Reference a local action from a workflow:
```yaml
- uses: studio/actions/ssh-run@main
with:
host: ${{ secrets.HOST }}
user: deploy
key: ${{ secrets.SSH_KEY }}
script: ./deploy.sh
```
## Runner image
`images/act` builds `git.studiovita.li/studio/actions:ubuntu-latest` from the Gitea
runner image, adding `rsync` and SOPS. Built weekly and on `images/**` changes via
[`.gitea/workflows/build.yml`](.gitea/workflows/build.yml).
## Maintenance
Dependencies pinned in `action.yml` / `Dockerfile` are updated by [Renovate](renovate.json)
using `## renovate:` annotations.
-13
View File
@@ -1,13 +0,0 @@
name: backup
description: backup all postgres databases
runs:
using: "composite"
steps:
- name: dump databases
shell: bash
run: |
docker ps
# - name: backup databases
# run: |