diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 43840a3..596f391 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -14,6 +14,7 @@ jobs: lint: name: Run golangci-lint runs-on: ubuntu-22.04 + if: 0 strategy: matrix: @@ -73,7 +74,7 @@ jobs: push: name: Push Docker Images runs-on: ubuntu-22.04 - needs: lint + # needs: lint if: ${{ gitea.ref == 'refs/heads/master' || gitea.ref == 'refs/heads/release' }} strategy: @@ -91,7 +92,7 @@ jobs: REPO: ${{ github.repository }} run: | GIT_SHA=$(git rev-parse --short HEAD) - GIT_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo 'none') + GIT_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "none") TARGET_ENV=${{ github.ref == 'refs/heads/release' && 'staging' || 'production' }} echo "GIT_SHA=${GIT_SHA}" >> $GITHUB_OUTPUT @@ -115,7 +116,7 @@ jobs: GIT_TAG: ${{ steps.git-metadata.outputs.GIT_TAG }} GIT_SHA: ${{ steps.git-metadata.outputs.GIT_SHA }} run: | - IMAGE_TAG=$TARGET_ENV-$($GIT_TAG != 'none' && echo $GIT_TAG || echo $GIT_SHA) + IMAGE_TAG=$TARGET_ENV-$($GIT_TAG != "none" && echo $GIT_TAG || echo $GIT_SHA) echo "IMAGE_NAME=molvaapp/${{ steps.git-metadata.outputs.REPO_NAME }}" >> $GITHUB_OUTPUT echo "IMAGE_TAG=${IMAGE_TAG}" >> $GITHUB_OUTPUT