fix ci
This commit is contained in:
parent
fe560f7281
commit
9d3629499e
@ -25,13 +25,13 @@ jobs:
|
|||||||
id: meta
|
id: meta
|
||||||
with:
|
with:
|
||||||
images: xefir/dl
|
images: xefir/dl
|
||||||
flavor: latest=true
|
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: true
|
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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user