Files
2026-etpgrf-site/.gitea/workflows/docker-publish.yaml
erjemin 3050b6eac7
All checks were successful
Build ETPGRF-site / build (push) Successful in 2m30s
mod: сборка пакета под arm64 и amd64
2026-01-17 04:12:23 +03:00

34 lines
814 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: Build ETPGRF-site
on:
push:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- 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: .
platforms: linux/amd64,linux/arm64 # <-- ВОТ ЭТО
push: true
tags: git.cube2.ru/${{ github.repository }}:latest