From 8e4b4cc9080113940e718d746d764c3b8d3d9555 Mon Sep 17 00:00:00 2001 From: Adrien Beaudouin Date: Thu, 22 Aug 2024 21:05:55 +0200 Subject: [PATCH] init auto release project --- docker/action.yaml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/docker/action.yaml b/docker/action.yaml index 2376544..a2cb910 100644 --- a/docker/action.yaml +++ b/docker/action.yaml @@ -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 }}