Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
22f670a7bf | ||
|
|
760b4cdcae |
No files matched your search
@@ -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.
|
||||
@@ -1,5 +1,5 @@
|
||||
## renovate: datasource=docker depName=docker.gitea.com/runner-images
|
||||
FROM docker.gitea.com/runner-images:ubuntu-latest@sha256:0e62e56b382ebf485bff1e51a05cbe27c708545a2e91425467fd31eb3e249521
|
||||
FROM docker.gitea.com/runner-images:ubuntu-latest@sha256:30ad0c51af70f33f852a760ed9b94fc01a537d4eb8d57258ae94be5aae7ceefd
|
||||
|
||||
RUN set -eux; \
|
||||
apt-get update; \
|
||||
|
||||
Reference in new issue
Block a user