last fix for ci
This commit is contained in:
parent
8649c913c4
commit
4f60073282
@ -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
|
||||
|
Reference in New Issue
Block a user