last fix for ci
books / flake8 (push) Successful in 30s Details
books / docker (push) Successful in 34s Details
books / pypi (push) Successful in 1m3s Details

This commit is contained in:
Michel Roux 2023-06-25 22:48:25 +02:00
parent 8649c913c4
commit 4f60073282
1 changed files with 3 additions and 3 deletions

View File

@ -23,14 +23,14 @@ jobs:
id: meta
with:
images: xefir/pynyaata
flavor: latest=${{ github.ref == 'refs/heads/master' }}
flavor: latest=${{ gitea.ref == 'refs/heads/master' }}
- uses: https://github.com/docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: https://github.com/docker/build-push-action@v4
with:
push: ${{ github.ref == 'refs/heads/master' }}
push: ${{ gitea.ref == 'refs/heads/master' || startsWith(gitea.ref, 'refs/tags') }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
@ -38,7 +38,7 @@ jobs:
runs-on: ubuntu-latest
container: python
needs: [lint]
if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ gitea.ref == 'refs/heads/master' || startsWith(gitea.ref, 'refs/tags') }}
steps:
- run: apt-get update
- run: apt-get install -y git nodejs