From e76cb2f3d504d805246b1d37cf58ca3d6077f861 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sat, 5 Aug 2023 22:26:06 +0200 Subject: [PATCH] pipeline runner --- .gitea/workflows/builder.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitea/workflows/builder.yaml b/.gitea/workflows/builder.yaml index 3081df3..4066ef5 100644 --- a/.gitea/workflows/builder.yaml +++ b/.gitea/workflows/builder.yaml @@ -19,4 +19,12 @@ jobs: registry: git.halis.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Make tag + id: tag_vars + run: echo "IMAGE_NAME=$(echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]' | cut -d '/' -f3-)" >> $GITHUB_OUTPUT + - name: Build and push + uses: https://gitea.com/docker/build-push-action@v4 + with: + push: true + tags: ${{ steps.tag_vars.outputs.IMAGE_NAME }}:latest