Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4069a65ef3 | ||
|
|
b27c39aea5 | ||
|
|
760b4cdcae |
No files matched your search
@@ -18,12 +18,12 @@ 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: ${{ secrets.REGISTRY_USERNAME }}
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
- uses: docker/build-push-action@v6
|
- uses: docker/build-push-action@v7
|
||||||
with:
|
with:
|
||||||
context: images/act
|
context: images/act
|
||||||
push: true
|
push: true
|
||||||
|
|||||||
@@ -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.
|
||||||
Reference in new issue
Block a user