Gachamelia/.gitea/workflows/build-docker.yml

25 lines
641 B
YAML
Raw Normal View History

2024-11-01 14:11:45 +00:00
name: Build and Push Docker Image
on:
push:
tags:
- '*'
jobs:
build:
2024-11-01 14:13:28 +00:00
runs-on: ubuntu-latest
2024-11-01 14:11:45 +00:00
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Build and Push with Kaniko
uses: aevea/action-kaniko@master
with:
2024-11-01 14:20:29 +00:00
image: camelia-studio/gachamelia
2024-11-01 14:11:45 +00:00
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
registry: git.crystalyx.net
2024-11-01 14:17:51 +00:00
tag: ${{ gitea.ref_name }}
tag_with_latest: true
2024-11-01 14:11:45 +00:00
cache: true
2024-11-01 14:26:37 +00:00
cache_registry: git.crystalyx.net/camelia-studio/gachamelia/cache