SHA256
Update deploy.yml
This commit is contained in:
1 parent
80118766fc
commit
01f1123928
1 file changed
+2
-4
@@ -34,12 +34,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Detect and Build Images
|
- name: Detect and Build Images
|
||||||
env:
|
env:
|
||||||
REPO_OWNER: ${{ github.repository_owner }}
|
|
||||||
EVENT_NAME: ${{ github.event_name }}
|
EVENT_NAME: ${{ github.event_name }}
|
||||||
run: |
|
run: |
|
||||||
REGISTRY_HOST="git.chillcog.com"
|
REGISTRY_HOST="git.chillcog.com"
|
||||||
IF_OWNER="${REPO_OWNER:-chillcog}"
|
TARGET_ORG="dhi"
|
||||||
OWNER_LOWER=$(echo "$IF_OWNER" | tr '[:upper:]' '[:lower:]')
|
|
||||||
|
|
||||||
FILES_TO_BUILD=$(find . -maxdepth 1 \( -name "*.yml" -o -name "*.yaml" \))
|
FILES_TO_BUILD=$(find . -maxdepth 1 \( -name "*.yml" -o -name "*.yaml" \))
|
||||||
|
|
||||||
@@ -52,7 +50,7 @@ jobs:
|
|||||||
image_base="${filename%.*}"
|
image_base="${filename%.*}"
|
||||||
image_name=$(echo "$image_base" | tr '[:upper:]' '[:lower:]')
|
image_name=$(echo "$image_base" | tr '[:upper:]' '[:lower:]')
|
||||||
|
|
||||||
TARGET_TAG="${REGISTRY_HOST}/${OWNER_LOWER}/${image_name}:latest"
|
TARGET_TAG="${REGISTRY_HOST}/${TARGET_ORG}/${image_name}:latest"
|
||||||
|
|
||||||
echo "---------------------------------------------------"
|
echo "---------------------------------------------------"
|
||||||
echo "Processing: $file -> Target: $TARGET_TAG"
|
echo "Processing: $file -> Target: $TARGET_TAG"
|
||||||
|
|||||||
Reference in new issue
Block a user