ci: force https for docker login to prevent http redirect auth drop
This commit is contained in:
@@ -40,7 +40,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Log in to Gitea Container Registry
|
- name: Log in to Gitea Container Registry
|
||||||
run: echo "${{ secrets.CR_PAT }}" | docker login git.khalilaliouich.com -u ${{ github.actor }} --password-stdin || echo "${{ secrets.CR_PAT }}" | docker login git.khalilaliouich.com -u ${{ github.actor }} --password-stdin
|
run: echo "${{ secrets.CR_PAT }}" | docker login https://git.khalilaliouich.com -u ${{ github.actor }} --password-stdin || echo "${{ secrets.CR_PAT }}" | docker login https://git.khalilaliouich.com -u ${{ github.actor }} --password-stdin
|
||||||
|
|
||||||
- name: Build and Push API
|
- name: Build and Push API
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user