patch: fix docker login during push stage #18
@@ -26,7 +26,7 @@ jobs:
|
|||||||
- name: Log in to container registry
|
- name: Log in to container registry
|
||||||
uses: docker/login-action@v4
|
uses: docker/login-action@v4
|
||||||
with:
|
with:
|
||||||
registry: ${{ replace(replace(github.server_url, 'https://', ''), 'http://', '') }}
|
registry: git.keligrubb.com
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.KESTRELOS_REPO_TOKEN }}
|
password: ${{ secrets.KESTRELOS_REPO_TOKEN }}
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Push Docker image (all tags from .tags)
|
- name: Push Docker image (all tags from .tags)
|
||||||
run: |
|
run: |
|
||||||
REGISTRY="${GITHUB_SERVER_URL#https://}"
|
REGISTRY="git.keligrubb.com"
|
||||||
IMAGE="$REGISTRY/${{ github.repository }}"
|
IMAGE="$REGISTRY/${{ github.repository }}"
|
||||||
while read -r tag; do
|
while read -r tag; do
|
||||||
docker tag kestrelos:built "$IMAGE:$tag"
|
docker tag kestrelos:built "$IMAGE:$tag"
|
||||||
|
|||||||
Reference in New Issue
Block a user