fix: 👷 update ci to new gitea ref
This commit is contained in:
parent
304f80a3f5
commit
59926c9b5d
@ -37,7 +37,7 @@ jobs:
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v5
|
||||
with:
|
||||
push: ${{ gitea.ref == 'refs/heads/master' || startsWith(gitea.ref, 'refs/tags') }}
|
||||
push: ${{ gitea.ref_name == 'master' || gitea.ref_type == 'tag' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
@ -45,7 +45,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
container: python:3.12.2
|
||||
needs: [lint]
|
||||
if: startsWith(gitea.ref, 'refs/tags')
|
||||
if: gitea.ref_type == 'tag'
|
||||
env:
|
||||
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
|
||||
steps:
|
||||
|
Loading…
Reference in New Issue
Block a user