Update worckflow
All checks were successful
Build and Push Docker Image (Simple) / build-and-push (push) Successful in 5s
All checks were successful
Build and Push Docker Image (Simple) / build-and-push (push) Successful in 5s
This commit is contained in:
@@ -36,6 +36,13 @@ jobs:
|
|||||||
- name: Push Docker image
|
- name: Push Docker image
|
||||||
run: |
|
run: |
|
||||||
docker push ${{ env.REGISTRY }}/${{ steps.repo.outputs.repository_lower }}/${{ env.IMAGE_NAME }}:latest
|
docker push ${{ env.REGISTRY }}/${{ steps.repo.outputs.repository_lower }}/${{ env.IMAGE_NAME }}:latest
|
||||||
|
|
||||||
|
- name: Connect Docker Image to Gitea Repo
|
||||||
|
run: |
|
||||||
|
curl -X POST \
|
||||||
|
-H "Authorization: token ${{ secrets.TOKEN }}" \
|
||||||
|
-d '{"image": "${{ vars.URL }}/${{ vars.REPOSITORY }}/my-linktree:latest"}' \
|
||||||
|
"https://git.out.jafre.li/api/v1/repos/${{ vars.REPOSITORY }}/docker-image"
|
||||||
|
|
||||||
- name: Link package to repository
|
- name: Link package to repository
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user