init auto release project

This commit is contained in:
2024-08-22 19:03:09 +02:00
parent e1c03de704
commit 2078da51c7
2 changed files with 47 additions and 16 deletions

View File

@ -20,21 +20,21 @@ inputs:
runs:
using: composite
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: 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
if: ${{ inputs.release == 'true' }}
with: