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