name: test python run-name: qwe on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [ '3.12', 'pypy3' ] name: Python ${{ matrix.python-version }} sample steps: - uses: actions/checkout@v2 - name: build env: TGBOT_CONFIG__TG__TOKEN: ${{ secrets.TGBOT_CONFIG__TG__TOKEN }} TGBOT_CONFIG__ZBX__TOKEN: ${{ secrets.TGBOT_CONFIG__ZBX__TOKEN }} TGBOT_CONFIG__ZBX__URL: ${{ secrets.TGBOT_CONFIG__ZBX__URL }} run: | docker login git.sm8255082.ru --username sergey --password ${{ secrets.GSP }} docker build -t home-tg-bot:latest . - name: push curent version run: | docker tag home-tg-bot:latest git.sm8255082.ru/sergey/home-tg-bot:0.0.3 docker push git.sm8255082.ru/sergey/home-tg-bot:0.0.3 - name: push latest run: | docker tag home-tg-bot:latest git.sm8255082.ru/sergey/home-tg-bot:latest docker push git.sm8255082.ru/sergey/home-tg-bot:latest