last fix for ci
This commit is contained in:
parent
8649c913c4
commit
4f60073282
@ -23,14 +23,14 @@ jobs:
|
|||||||
id: meta
|
id: meta
|
||||||
with:
|
with:
|
||||||
images: xefir/pynyaata
|
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
|
- uses: https://github.com/docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
- uses: https://github.com/docker/build-push-action@v4
|
- uses: https://github.com/docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
push: ${{ github.ref == 'refs/heads/master' }}
|
push: ${{ gitea.ref == 'refs/heads/master' || startsWith(gitea.ref, 'refs/tags') }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: python
|
container: python
|
||||||
needs: [lint]
|
needs: [lint]
|
||||||
if: ${{ github.ref == 'refs/heads/master' }}
|
if: ${{ gitea.ref == 'refs/heads/master' || startsWith(gitea.ref, 'refs/tags') }}
|
||||||
steps:
|
steps:
|
||||||
- run: apt-get update
|
- run: apt-get update
|
||||||
- run: apt-get install -y git nodejs
|
- run: apt-get install -y git nodejs
|
||||||
|
Reference in New Issue
Block a user