docs: use full Gitea URL for pipeline-actions uses: references
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
Reusable composite actions for Gitea Actions CI/CD pipelines in the homelab.
|
||||
|
||||
> **Note:** Gitea cannot resolve actions the GitHub way (`ivanch/pipeline-actions/...`). Every `uses:` reference below must use the full URL form `https://git.ivanch.me/ivanch/pipeline-actions/<action>@main`.
|
||||
|
||||
## Actions
|
||||
|
||||
### `build-and-push`
|
||||
@@ -14,7 +16,7 @@ jobs:
|
||||
runs-on: ubuntu-amd64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ivanch/pipeline-actions/build-and-push@main
|
||||
- uses: https://git.ivanch.me/ivanch/pipeline-actions/build-and-push@main
|
||||
with:
|
||||
image: git.ivanch.me/ivanch/my-app
|
||||
registry_password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
@@ -54,7 +56,7 @@ jobs:
|
||||
runs-on: ubuntu-amd64
|
||||
needs: build
|
||||
steps:
|
||||
- uses: ivanch/pipeline-actions/deploy-restart@main
|
||||
- uses: https://git.ivanch.me/ivanch/pipeline-actions/deploy-restart@main
|
||||
with:
|
||||
kube_config: ${{ secrets.KUBE_CONFIG }}
|
||||
deployment_name: my-app
|
||||
@@ -80,7 +82,7 @@ jobs:
|
||||
runs-on: ubuntu-amd64
|
||||
needs: build
|
||||
steps:
|
||||
- uses: ivanch/pipeline-actions/ssh-deploy@main
|
||||
- uses: https://git.ivanch.me/ivanch/pipeline-actions/ssh-deploy@main
|
||||
with:
|
||||
ssh_host: ${{ secrets.DEPLOY_HOST }}
|
||||
ssh_username: ${{ secrets.DEPLOY_USERNAME }}
|
||||
|
||||
Reference in New Issue
Block a user