Files
webgit/.gitea/workflows/deploy.yml
Renovate Bot 37749c3bc7
All checks were successful
Deploy / build (push) Successful in 2m57s
Update https://gitea.seeseepuff.be/actions/watchtower action to v2 (#9)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [https://gitea.seeseepuff.be/actions/watchtower](https://gitea.seeseepuff.be/actions/watchtower) | action | major | `v1` → `v2` |

---

### Release Notes

<details>
<summary>actions/watchtower (https://gitea.seeseepuff.be/actions/watchtower)</summary>

### [`v2`](https://gitea.seeseepuff.be/actions/watchtower/compare/v1...v2)

[Compare Source](https://gitea.seeseepuff.be/actions/watchtower/compare/v1...v2)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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 [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNjAuNiIsInVwZGF0ZWRJblZlciI6IjQzLjE2MC42IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbInJlbm92YXRlIl19-->

Reviewed-on: #9
Co-authored-by: Renovate Bot <sebastiaan.de.schaetzen+renovate@gmail.com>
Co-committed-by: Renovate Bot <sebastiaan.de.schaetzen+renovate@gmail.com>
2026-05-03 22:36:18 +02:00

39 lines
1.0 KiB
YAML

name: Deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Setup Java
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
with:
distribution: 'temurin'
java-version: '25'
cache: 'gradle'
- name: Build Jar
run: ./gradlew bootJar
- name: Run Tests
run: ./gradlew test
- name: Build Container
run: docker build --tag gitea.seeseepuff.be/seeseemelk/webgit:latest .
- name: Login
with:
package_rw: ${{ secrets.PACKAGE_RW }}
run: docker login gitea.seeseepuff.be -u seeseemelk -p ${{ secrets.PACKAGE_RW }}
- name: Push Container
run: docker push gitea.seeseepuff.be/seeseemelk/webgit:latest
- name: Trigger Watchtower
uses: https://gitea.seeseepuff.be/actions/watchtower@2bf31c49a6f57d45a1580c7004911afb714fb188 # v2