Gachamelia/.gitea/workflows/build-docker.yml
Melaine Gérard 871309f74a
Some checks failed
Build and Push Docker Image / build (push) Failing after 1m18s
Fix cache
2024-11-01 15:22:18 +01:00

29 lines
763 B
YAML

name: Build and Push Docker Image
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Build and Push with Kaniko
uses: aevea/action-kaniko@master
with:
image: camelia-studio/gachamelia
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
registry: git.crystalyx.net
tag: ${{ gitea.ref_name }}
tag_with_latest: true
cache: true
cache_registry: git.crystalyx.net/camelia-studio/gachamelia/cache
extra_args: |
--snapshot-mode=redo
--use-new-run
--compressed-caching=false