Update worckflow
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m13s

This commit is contained in:
jafreli
2025-07-24 22:32:56 +02:00
parent 4279e21316
commit 5c958d6c6d

View File

@@ -5,6 +5,8 @@ on:
branches:
- main
- master
tags:
- 'v*'
pull_request:
branches:
- main
@@ -70,17 +72,8 @@ jobs:
SOURCE_URL=${{ gitea.server_url }}/${{ gitea.repository }}
REPO_NAME=${{ gitea.repository }}
- name: Connect Docker Image to Gitea Repo
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.TOKEN }}" \
-H "Content-Type: application/json" \
-d '{"image": "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest"}' \
"${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/docker-image"
- name: Generate deployment info
run: |
echo "Docker image pushed successfully!"
echo "Image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}"
echo "Tags: ${{ steps.meta.outputs.tags }}"
echo "Repository linking completed!"
echo "Tags: ${{ steps.meta.outputs.tags }}"