patch: fix docker login during push stage (#18)
All checks were successful
Push / release-docker-helm (push) Successful in 4m24s
All checks were successful
Push / release-docker-helm (push) Successful in 4m24s
Co-authored-by: Madison Grubb <madison@elastiflow.com> Reviewed-on: #18
This commit was merged in pull request #18.
This commit is contained in:
@@ -26,7 +26,7 @@ jobs:
|
||||
- name: Log in to container registry
|
||||
uses: docker/login-action@v4
|
||||
with:
|
||||
registry: ${{ replace(replace(github.server_url, 'https://', ''), 'http://', '') }}
|
||||
registry: git.keligrubb.com
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.KESTRELOS_REPO_TOKEN }}
|
||||
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
|
||||
- name: Push Docker image (all tags from .tags)
|
||||
run: |
|
||||
REGISTRY="${GITHUB_SERVER_URL#https://}"
|
||||
REGISTRY="git.keligrubb.com"
|
||||
IMAGE="$REGISTRY/${{ github.repository }}"
|
||||
while read -r tag; do
|
||||
docker tag kestrelos:built "$IMAGE:$tag"
|
||||
|
||||
Reference in New Issue
Block a user