change registry url
Some checks failed
Build and Push Docker Image then Slack webhook / build-and-push (push) Failing after 15s
Build and Push Docker Image then Slack webhook / slack-notification (push) Has been skipped

This commit is contained in:
Tom Carron 2025-05-22 15:59:55 +01:00
parent 43e783f130
commit 0f66e867cb

View File

@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v4
- name: Log in to Gitea Container Registry
run: echo "${{ secrets.REGISTRY_TOKEN_GITEA }}" | docker login git.adaptcentre.ie -u "${{ secrets.USERNAME_GITEA }}" --password-stdin
run: echo "${{ secrets.REGISTRY_TOKEN_GITEA }}" | docker login opengit.adaptcentre.ie -u "${{ secrets.USERNAME_GITEA }}" --password-stdin
- name: Build Docker image
run: docker build -t ${{ secrets.DOCKER_IMAGE_NAME }} .
@ -28,4 +28,4 @@ jobs:
steps:
- name: Send Slack notification
run: |
curl -X POST -H 'Content-type: application/json' --data '{"text": "Image build for ${{ gitea.repository }} on branch ${{ gitea.ref }} completed with status: ${{ needs.build-and-push.result }}."}' "${{ secrets.SLACK_WEBHOOK_URL }}"
curl -X POST -H 'Content-type: application/json' --data '{"text": "Image build for ${{ gitea.repository }} on branch ${{ gitea.ref }} completed with status: ${{ needs.build-and-push.result }}."}' "${{ secrets.SLACK_WEBHOOK_URL }}"