Update .forgejo/workflows/container.yaml
Signed-off-by: xengi <forgejo@xengi.de>
This commit is contained in:
parent
215ff615d1
commit
cd84cdeb5a
1 changed files with 9 additions and 0 deletions
|
|
@ -35,3 +35,12 @@ jobs:
|
|||
--local context=./ \
|
||||
--local dockerfile=./ \
|
||||
--output type=image,name=${{ env.REGISTRY_URL }}/${{ env.FORGEJO_REPOSITORY }}:${{ env.REGISTRY_TAG }},push=true
|
||||
- name: Send notification
|
||||
if: ${{ failure() }}
|
||||
run: |
|
||||
curl -s \
|
||||
--form-string "token=${{ secrets.PUSHOVER_API_TOKEN }}" \
|
||||
--form-string "user=${{ secrets.PUSHOVER_USER_KEY }}" \
|
||||
--form-string "message=Building archlinux-aur container failed." \
|
||||
https://api.pushover.net/1/messages.json
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue