Test update

This commit is contained in:
samsep101
2026-01-05 02:10:30 +05:00
parent 8b5ec97e38
commit 17519dec0c
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
name: Build with Kaniko
on: [push]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and push with Kaniko
uses: aevea/action-kaniko@master
with:
# Обязательные параметры
registry: harbor.apps.kopikopi.com.ru
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_PASSWORD }}
image: drone/test # Имя образа без registry
tags: latest,${{ gitea.sha }}
context: .
dockerfile: Dockerfile
cache: true
cache-repo: harbor.apps.kopikopi.com.ru/proxy/cache
build-args: |
BUILD_DATE=${{ gitea.workflow.created }}
VERSION=${{ gitea.sha }}
# Дополнительные флаги для kaniko
extra-args: |
--snapshot-mode=time
--use-new-run
--verbosity=info

1
README.md Normal file
View File

@@ -0,0 +1 @@
# Test