generated from Templates/Baseline
renovate-bot
cd9ed77875
All checks were successful
ci / docker (push) Successful in 17s
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/metadata-action](https://gitea.ocram85.com/actions/metadata-action) | action | major | `v4` -> `v5` | --- ### Release Notes <details> <summary>actions/metadata-action (actions/metadata-action)</summary> ### [`v5`](https://gitea.ocram85.com/actions/metadata-action/compare/v4...v5) [Compare Source](https://gitea.ocram85.com/actions/metadata-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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xODkuMSIsInVwZGF0ZWRJblZlciI6IjM3LjE4OS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: OCram85 <marco.blessing@googlemail.com> Reviewed-on: #20 Reviewed-by: OCram85 <marco.blessing@googlemail.com> Co-authored-by: renovate-bot <renovate@ocram85.com> Co-committed-by: renovate-bot <renovate@ocram85.com>
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
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
|
|
uses: https://gitea.ocram85.com/actions/setup-buildx-action@v3
|
|
-
|
|
name: Login to Gitea Package Registry
|
|
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
|
|
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 }}
|