From 17519dec0c4818150ba69f6cdbd53dae4cb3f46a Mon Sep 17 00:00:00 2001 From: samsep101 Date: Mon, 5 Jan 2026 02:10:30 +0500 Subject: [PATCH] Test update --- .gitea/workflows/test.yaml | 33 +++++++++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 34 insertions(+) create mode 100644 .gitea/workflows/test.yaml create mode 100644 README.md diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..37fca37 --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -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 diff --git a/README.md b/README.md new file mode 100644 index 0000000..8ae0569 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Test