diff --git a/.gitea/workflows/builder.yaml b/.gitea/workflows/builder.yaml index df8f9fc..a8733f6 100644 --- a/.gitea/workflows/builder.yaml +++ b/.gitea/workflows/builder.yaml @@ -13,15 +13,15 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + - name: Generate tag + id: tag_vars + run: echo "IMAGE_NAME=$(echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]' | cut -d '/' -f3-)" >> $GITHUB_OUTPUT - name: Login to register uses: https://gitea.com/docker/login-action@v2 with: registry: git.halis.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Generate 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://github.com/docker/build-push-action@v4 with: