Files
2026-etpgrf-site/.gitea/workflows/docker-publish.yaml
erjemin 994f664875
All checks were successful
Build ETPGRF-site / build (push) Successful in 2m47s
Setup CI/CD
2026-01-17 03:52:49 +03:00

27 lines
599 B
YAML

name: Build ETPGRF-site
on:
push:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Login to Gitea Registry
uses: docker/login-action@v2
with:
registry: git.cube2.ru
username: ${{ github.actor }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push image ETPGRF-site
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: git.cube2.ru/${{ github.repository }}:latest