swarmproxy/.gitea/workflows/ci.yaml
renovate-bot f0b5a81964
All checks were successful
ci / docker (push) Successful in 14s
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: #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

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@v4
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@v2
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 }}