Compare commits
26 Commits
Author | SHA1 | Date | |
---|---|---|---|
2c66d6c165 | |||
cd025a9291 | |||
4f5ff56f9e | |||
728da376f7 | |||
e87401928e | |||
aa84e6e182 | |||
d2085e2305 | |||
7fefb3d53b | |||
2304d88224 | |||
2c3c115517 | |||
64191136a2 | |||
2798b4f3bd | |||
5d4bfe05de | |||
e8daa92fba | |||
f3317ba2ac | |||
ed89f99265 | |||
278a4e57e9 | |||
6e4c44e746 | |||
933d29d395 | |||
6a15af8e82 | |||
c2c3763976 | |||
bafbda6a6f | |||
b4f6b8cc98 | |||
22a456e8b0 | |||
a4dcae26c2 | |||
4b19c14aae |
@ -1,5 +1,7 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
@ -17,20 +19,9 @@ jobs:
|
||||
with:
|
||||
path: resources
|
||||
key: ${{ runner.os }}-resources
|
||||
- name: Build test
|
||||
- name: Build
|
||||
run: hugo --minify
|
||||
- uses: docker/metadata-action@v5
|
||||
id: meta
|
||||
- uses: https://gitea.okami101.io/okami101/docker-action@main
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
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 }}
|
||||
|
Reference in New Issue
Block a user