build fix 11
This commit is contained in:
@@ -14,7 +14,7 @@ env:
|
||||
# TODO: Remove after installing internal CA certificate on the runner
|
||||
GIT_SSL_NO_VERIFY: "true"
|
||||
REGISTRY_HOST: 192.168.3.80
|
||||
DEPLOY_REGISTRY_HOST: 10.0.0.4
|
||||
DEPLOY_REGISTRY_HOST: 10.0.0.4:5000
|
||||
DEPLOY_SSH_HOST: 10.0.0.1
|
||||
DOCKERFILE_PATH: Dockerfile.production
|
||||
DOCKER_PLATFORM: linux/amd64
|
||||
@@ -74,8 +74,8 @@ jobs:
|
||||
REPO="${{ gitea.repository }}"
|
||||
TAG="${{ gitea.sha }}"
|
||||
echo "repository=${REPO}" >> "$GITHUB_OUTPUT"
|
||||
echo "full=${REGISTRY_HOST}/${REPO}:${TAG}" >> "$GITHUB_OUTPUT"
|
||||
echo "latest=${REGISTRY_HOST}/${REPO}:latest" >> "$GITHUB_OUTPUT"
|
||||
echo "full=${DEPLOY_REGISTRY_HOST}/${REPO}:${TAG}" >> "$GITHUB_OUTPUT"
|
||||
echo "latest=${DEPLOY_REGISTRY_HOST}/${REPO}:latest" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Check Docker registry credentials
|
||||
id: registry-check
|
||||
@@ -267,7 +267,7 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
if [ '$PUSH_IMAGE' = 'true' ]; then
|
||||
printf '%s' '$REGISTRY_PASSWORD_B64' | base64 -d | docker login '$REGISTRY_HOST' \
|
||||
printf '%s' '$REGISTRY_PASSWORD_B64' | base64 -d | docker login '$DEPLOY_REGISTRY_HOST' \
|
||||
--username '$REGISTRY_USERNAME' \
|
||||
--password-stdin
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user