Compare commits

...

24 Commits

Author SHA1 Message Date
07ca3dd3a5 build
All checks were successful
/ build (push) Has been skipped
/ deploy (push) Successful in 10s
2024-08-14 16:25:52 +02:00
a333928d39 build
All checks were successful
/ build (push) Successful in 1m47s
2024-08-14 16:12:09 +02:00
eadcddc659 up 2024-08-08 20:58:59 +02:00
ad9b1cd38d try gitea action
All checks were successful
/ build (push) Successful in 16s
2024-08-03 12:00:23 +02:00
4789bb5c03 try gitea action
All checks were successful
/ build (push) Successful in 36s
2024-08-03 11:59:15 +02:00
c57c660f9f try gitea action
All checks were successful
/ build (push) Successful in 16s
2024-08-03 11:24:04 +02:00
2c66d6c165 try gitea action
All checks were successful
/ build (push) Successful in 40s
2024-08-02 21:03:54 +02:00
cd025a9291 try gitea action
All checks were successful
/ build (push) Successful in 2m10s
2024-08-02 20:58:47 +02:00
4f5ff56f9e try gitea action
All checks were successful
/ build (push) Successful in 1m26s
2024-08-02 19:41:37 +02:00
728da376f7 try gitea action
Some checks failed
/ build (push) Has been cancelled
2024-08-02 19:40:39 +02:00
e87401928e try gitea action
All checks were successful
/ build (push) Successful in 34s
2024-08-01 22:39:14 +02:00
aa84e6e182 try gitea action
All checks were successful
/ build (push) Successful in 32s
2024-08-01 22:38:16 +02:00
d2085e2305 try gitea action
Some checks failed
/ build (push) Failing after 17s
2024-08-01 22:36:07 +02:00
7fefb3d53b try gitea action
All checks were successful
/ build (push) Successful in 15s
2024-08-01 22:21:08 +02:00
2304d88224 try gitea action
All checks were successful
/ build (push) Successful in 36s
2024-08-01 22:15:39 +02:00
2c3c115517 try gitea action
All checks were successful
/ build (push) Successful in 37s
2024-08-01 22:13:57 +02:00
64191136a2 try gitea action
Some checks failed
/ build (push) Failing after 18s
2024-08-01 22:08:38 +02:00
2798b4f3bd try gitea action
Some checks failed
/ build (push) Failing after 3s
2024-08-01 21:40:52 +02:00
5d4bfe05de try gitea action
Some checks failed
/ build (push) Failing after 3s
2024-08-01 21:36:54 +02:00
e8daa92fba try gitea action
Some checks failed
/ build (push) Failing after 3s
2024-08-01 21:32:56 +02:00
f3317ba2ac try gitea action
Some checks failed
/ build (push) Failing after 4s
2024-08-01 21:27:09 +02:00
ed89f99265 try gitea action
Some checks failed
/ build (push) Failing after 2s
2024-08-01 21:26:24 +02:00
278a4e57e9 try gitea action
Some checks failed
/ build (push) Failing after 2s
2024-08-01 21:25:07 +02:00
6e4c44e746 try gitea action
Some checks failed
/ build (push) Failing after 4s
2024-08-01 21:22:49 +02:00

View File

@ -8,47 +8,28 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: ${{ !startsWith(gitea.ref, 'refs/tags/v') }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: peaceiris/actions-hugo@v3
with:
extended: true
- uses: actions/cache@v4
with:
path: resources
key: ${{ runner.os }}-resources
- uses: peaceiris/actions-hugo@v3
with:
extended: true
- name: Build
run: hugo --minify
- uses: actions/cache@v4
id: restore-build
- uses: https://gitea.okami101.io/okami101/actions/docker@main
with:
path: public
key: ${{ gitea.sha }}
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
deploy:
runs-on: ubuntu-latest
needs: build
if: startsWith(github.ref, 'refs/tags/v')
if: ${{ startsWith(gitea.ref, 'refs/tags/v') }}
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
id: restore-build
- uses: https://gitea.okami101.io/okami101/actions/docker@main
with:
path: public
key: ${{ gitea.sha }}
- uses: docker/metadata-action@v5
id: meta
with:
images: ${{ vars.CONTAINER_REGISTRY_URL }}/${{ gitea.repository }}
- uses: docker/login-action@v3
with:
registry: ${{ vars.CONTAINER_REGISTRY_URL }}
username: ${{ vars.CONTAINER_REGISTRY_USERNAME }}
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
- uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}