swarmproxy/.gitea/workflows/ci.yaml

50 lines
1.3 KiB
YAML
Raw Normal View History

2023-07-10 14:04:21 +02:00
name: ci
on:
push:
branches:
- 'main'
tags:
- 'v*'
pull_request:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
-
name: Docker meta
id: meta
uses: https://gitea.ocram85.com/actions/metadata-action@v5
with:
images: |
gitea.ocram85.com/ocram85/swarmproxy
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
-
name: Set up Docker Buildx
chore(deps): update actions/setup-buildx-action action to v3 (#21) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-buildx-action](https://gitea.ocram85.com/actions/setup-buildx-action) | action | major | `v2` -> `v3` | --- ### Release Notes <details> <summary>actions/setup-buildx-action (actions/setup-buildx-action)</summary> ### [`v3`](https://gitea.ocram85.com/actions/setup-buildx-action/compare/v2...v3) [Compare Source](https://gitea.ocram85.com/actions/setup-buildx-action/compare/v2...v3) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xODkuMSIsInVwZGF0ZWRJblZlciI6IjM3LjE4OS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: OCram85 <marco.blessing@googlemail.com> Reviewed-on: https://gitea.ocram85.com/OCram85/swarmproxy/pulls/21 Reviewed-by: OCram85 <marco.blessing@googlemail.com> Co-authored-by: renovate-bot <renovate@ocram85.com> Co-committed-by: renovate-bot <renovate@ocram85.com>
2024-06-20 17:24:30 +02:00
uses: https://gitea.ocram85.com/actions/setup-buildx-action@v3
-
name: Login to Gitea Package Registry
chore(deps): update actions/login-action action to v3 (#19) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/login-action](https://gitea.ocram85.com/actions/login-action) | action | major | `v2` -> `v3` | --- ### Release Notes <details> <summary>actions/login-action (actions/login-action)</summary> ### [`v3`](https://gitea.ocram85.com/actions/login-action/compare/v2...v3) [Compare Source](https://gitea.ocram85.com/actions/login-action/compare/v2...v3) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xODkuMSIsInVwZGF0ZWRJblZlciI6IjM3LjE4OS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: OCram85 <marco.blessing@googlemail.com> Reviewed-on: https://gitea.ocram85.com/OCram85/swarmproxy/pulls/19 Reviewed-by: OCram85 <marco.blessing@googlemail.com> Co-authored-by: renovate-bot <renovate@ocram85.com> Co-committed-by: renovate-bot <renovate@ocram85.com>
2024-06-20 17:28:52 +02:00
uses: https://gitea.ocram85.com/actions/login-action@v3
with:
registry: gitea.ocram85.com
username: ${{ secrets.USERNAME }}
#password: ${{ secrets.PASSWORD }}
password: ${{ secrets.TOKEN }}
-
name: Build and push
chore(deps): update actions/build-push-action action to v6 (#22) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/build-push-action](https://gitea.ocram85.com/actions/build-push-action) | action | major | `v4` -> `v6` | --- ### Release Notes <details> <summary>actions/build-push-action (actions/build-push-action)</summary> ### [`v6`](https://gitea.ocram85.com/actions/build-push-action/compare/v5...v6) [Compare Source](https://gitea.ocram85.com/actions/build-push-action/compare/v5...v6) ### [`v5`](https://gitea.ocram85.com/actions/build-push-action/compare/v4...v5) [Compare Source](https://gitea.ocram85.com/actions/build-push-action/compare/v4...v5) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://gitea.ocram85.com/OCram85/swarmproxy/pulls/22 Reviewed-by: OCram85 <marco.blessing@googlemail.com> Co-authored-by: renovate-bot <renovate@ocram85.com> Co-committed-by: renovate-bot <renovate@ocram85.com>
2024-06-20 17:22:51 +02:00
uses: https://gitea.ocram85.com/actions/build-push-action@v6
with:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}