Files
PodkopSubsets/.gitea/workflows/latest.yaml
Miwory fb491b339f
All checks were successful
Production Build / publish (push) Successful in 18s
Добавлен actions/checkout@v4
2026-04-09 12:32:31 +03:00

35 lines
861 B
YAML

name: Production Build
run-name: ${{ github.actor }} is running the CI pipeline
on:
push:
branches:
- latest
jobs:
publish:
runs-on: ubuntu-latest
env:
RUNNER_TOOL_CACHE: /${{ github.workspace }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: git.miwory.dev
username: ${{ secrets.CI_USERNAME }}
password: ${{ secrets.CI_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: 'git.miwory.dev/miwory/podkopsubsets:latest'
cache-from: type=gha
cache-to: type=gha,mode=max