Merge pull request 'ci: switched to my brothers solution' (#51) from chore into main
Build, Package & Release Next.js / Build & Push Docker Image (push) Failing after 18s
Build, Package & Release Next.js / Create Gitea Release (push) Skipped

Reviewed-on: Schanbro/PsalmTafel#51
This commit was merged in pull request #51.
This commit is contained in:
robin committed 2026-09-03 13:34:43 +00:00
commit e978e2fb99
1 file changed
+14 -14
+14 -14
View File
@@ -23,21 +23,21 @@ jobs:
VERSION=$(jq -r '.version' package.json) VERSION=$(jq -r '.version' package.json)
echo "VERSION=$VERSION" >> $GITHUB_ENV echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Build and Push Docker Image via CLI - name: Log in to Gitea Container Registry
run: | uses: docker/login-action@v3
IMAGE_NAME=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]') with:
registry: gitea:3000
username: ${{ github.actor }}
password: ${{ secrets.GITEA_TOKEN }}
echo "Logging into Gitea Registry..." - name: Build and Push Docker Image
echo "${{ secrets.GITEA_TOKEN }}" | docker login gitea:3000 -u ${{ github.actor }} --password-stdin uses: docker/build-push-action@v5
with:
echo "Building Docker Image..." context: .
docker build \ push: true
-t gitea:3000/$IMAGE_NAME:v${{ env.VERSION }} \ tags: |
-t gitea:3000/$IMAGE_NAME:latest . gitea:3000/${{ github.repository }}:v${{ env.VERSION }}
gitea:3000/${{ github.repository }}:latest
echo "Pushing Docker Image..."
docker push gitea:3000/$IMAGE_NAME:v${{ env.VERSION }}
docker push gitea:3000/$IMAGE_NAME:latest
create-release: create-release:
name: Create Gitea Release name: Create Gitea Release