init auto release project

This commit is contained in:
Adrien Beaudouin 2024-08-22 21:05:55 +02:00
parent c2f1f4881a
commit 8e4b4cc908

View File

@ -20,22 +20,22 @@ 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: https://gitea.okami101.io/okami101/actions/release@main
if: ${{ inputs.release == 'true' }}
with:
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 }}