init auto release project
This commit is contained in:
parent
c2f1f4881a
commit
8e4b4cc908
@ -20,22 +20,22 @@ inputs:
|
|||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
# - uses: docker/metadata-action@v5
|
|
||||||
# id: meta
|
|
||||||
# with:
|
|
||||||
# images: ${{ inputs.registry }}/${{ gitea.repository }}
|
|
||||||
# - uses: docker/login-action@v3
|
|
||||||
# with:
|
|
||||||
# registry: ${{ inputs.registry }}
|
|
||||||
# username: ${{ inputs.username }}
|
|
||||||
# password: ${{ inputs.password }}
|
|
||||||
# - uses: docker/build-push-action@v6
|
|
||||||
# with:
|
|
||||||
# context: .
|
|
||||||
# push: true
|
|
||||||
# tags: ${{ steps.meta.outputs.tags }}
|
|
||||||
# labels: ${{ steps.meta.outputs.labels }}
|
|
||||||
- uses: https://gitea.okami101.io/okami101/actions/release@main
|
- uses: https://gitea.okami101.io/okami101/actions/release@main
|
||||||
if: ${{ inputs.release == 'true' }}
|
if: ${{ inputs.release == 'true' }}
|
||||||
with:
|
with:
|
||||||
token: ${{ inputs.gitea-token }}
|
token: ${{ inputs.gitea-token }}
|
||||||
|
- uses: docker/metadata-action@v5
|
||||||
|
id: meta
|
||||||
|
with:
|
||||||
|
images: ${{ inputs.registry }}/${{ gitea.repository }}
|
||||||
|
- uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ${{ inputs.registry }}
|
||||||
|
username: ${{ inputs.username }}
|
||||||
|
password: ${{ inputs.password }}
|
||||||
|
- uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user