38 lines
858 B
YAML
38 lines
858 B
YAML
name: test
|
|
|
|
#on:
|
|
# push:
|
|
# tags:
|
|
# - "*"
|
|
on: push
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# repo
|
|
- name: Check out repository
|
|
uses: actions/checkout@v7
|
|
# python
|
|
- name: Set up python
|
|
id: setup-python
|
|
uses: actions/setup-python@v7
|
|
with:
|
|
python-version: "3.14"
|
|
cache: "pip"
|
|
# project-manager
|
|
- name: Install Project Manager
|
|
run: |
|
|
pip install project-manager \
|
|
--index-url https://git.shmyga.ru/api/packages/InfernalGames/pypi/simple/ \
|
|
--extra-index-url https://pypi.org/simple
|
|
# setup
|
|
- name: Setup config
|
|
run: pm setup:config -vv
|
|
# build
|
|
- name: Build docker
|
|
run: pm build:docker -vv
|
|
# pubish
|
|
- name: Publish docker
|
|
run: pm publish:docker -vv
|