fix ci
divent / lint (push) Successful in 1m48s Details
divent / docker (push) Successful in 1m46s Details
divent / pypi (push) Has been skipped Details

This commit is contained in:
Michel Roux 2023-06-25 23:06:53 +02:00
parent 7404bb3a38
commit 161597dc3f
1 changed files with 2 additions and 2 deletions

View File

@ -26,14 +26,14 @@ jobs:
id: meta
with:
images: xefir/divent
flavor: latest=true
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: true
push: ${{ gitea.ref == 'refs/heads/master' || startsWith(gitea.ref, 'refs/tags') }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}