diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 0c92f6b..896fe0a 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -16,6 +16,9 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + - name: Convert repository name to lowercase + run: echo "repo_name=${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV + - name: Login to Gitea Registry uses: docker/login-action@v3 with: @@ -29,8 +32,8 @@ jobs: context: . push: true tags: | - gitea.blyzer.com.br/${{ gitea.repository }}:latest - gitea.blyzer.com.br/${{ gitea.repository }}:${{ gitea.sha }} + gitea.blyzer.com.br/${{ env.repo_name }}:latest + gitea.blyzer.com.br/${{ env.repo_name }}:${{ gitea.sha }} build-args: | API_KEY=${{ secrets.API_KEY || '' }}