Module: kamailio
Branch: master
Commit: 4df939428555f8c4fde67f7b8638809aca56c9f2
URL: 
https://github.com/kamailio/kamailio/commit/4df939428555f8c4fde67f7b8638809aca56c9f2

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2024-01-16T09:34:38+01:00

github: add default registry credentials [skip ci]

> https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idcontainercredentials

---

Modified: .github/workflows/main.yml
Modified: .github/workflows/pull_request.yml

---

Diff:  
https://github.com/kamailio/kamailio/commit/4df939428555f8c4fde67f7b8638809aca56c9f2.diff
Patch: 
https://github.com/kamailio/kamailio/commit/4df939428555f8c4fde67f7b8638809aca56c9f2.patch

---

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 8f1d028cda8..86b05df1822 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -13,6 +13,9 @@ jobs:
       contents: read # to fetch code (actions/checkout)
     container:
       image: ghcr.io/kamailio/pkg-kamailio-docker:${{ github.ref_name }}-${{ 
matrix.distribution }}
+      credentials:
+        username: ${{ github.actor }}
+        password: ${{ secrets.GITHUB_TOKEN }}
       volumes:
         - ${{ github.workspace }}:/code
       env:
diff --git a/.github/workflows/pull_request.yml 
b/.github/workflows/pull_request.yml
index a2fc539ddfc..cda04d04389 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -22,6 +22,9 @@ jobs:
       contents: read # to fetch code (actions/checkout)
     container:
       image: ghcr.io/kamailio/pkg-kamailio-docker:master-${{ 
matrix.distribution }}
+      credentials:
+        username: ${{ github.actor }}
+        password: ${{ secrets.GITHUB_TOKEN }}
       volumes:
         - ${{ github.workspace }}:/code
       env:

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to