Удалить .gitea/build-latest.yml
This commit is contained in:
@ -1,29 +0,0 @@
|
|||||||
name: Scheduled Docker Build to Local Registry
|
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: '0 3 * * *' # Ежедневно в 3:00 UTC
|
|
||||||
workflow_dispatch: # Разрешить ручной запуск
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-and-push:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v2
|
|
||||||
|
|
||||||
- name: Build Docker image
|
|
||||||
uses: docker/build-push-action@v4
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
tags: registry.mycloudnc.ru/alt-atomic-niri:latest
|
|
||||||
push: false # Пока не пушим
|
|
||||||
|
|
||||||
- name: Push to Local Registry
|
|
||||||
run: |
|
|
||||||
docker push registry.mycloudnc.ru/alt-atomic-niri:latest
|
|
||||||
shell: bash
|
|
Reference in New Issue
Block a user