24 lines
No EOL
787 B
YAML
24 lines
No EOL
787 B
YAML
name: Gitea Actions Demo
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
on: [ push ]
|
|
jobs:
|
|
build-base-image:
|
|
runs-on: fz
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: docker/medatada-action@3
|
|
id: medatada
|
|
with:
|
|
images: git.roboces.dev/${{ gitea.repository }}
|
|
- uses: docker/login-action@v1
|
|
with:
|
|
registry: git.roboces.dev
|
|
username: ${{ gitea.actor }}
|
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
|
- uses: int128/kaniko-action@v1
|
|
with:
|
|
push: true
|
|
tags: ${{ steps.metadata.outputs.tags }}
|
|
labels: ${{ steps.metadata.outputs.labels }}
|
|
cache: true
|
|
cache-repository: gitea.roboces.dev/${{ gitea.repository }}/cache |