SHA256
Update deploy.yml
This commit is contained in:
1 parent
1e45ef8379
commit
c2de5c0a57
1 file changed
+5
-3
@@ -32,18 +32,20 @@ jobs:
|
||||
|
||||
- name: Log in to Gitea Container Registry
|
||||
run: |
|
||||
echo "${{ secrets.GITHUB_TOKEN }}" | docker login git.chillcog.com -u "${{ git.repository_owner }}" --password-stdin
|
||||
echo "${{ secrets.GITHUB_TOKEN }}" | docker login git.chillcog.com -u "${{ github.repository_owner }}" --password-stdin
|
||||
|
||||
- name: Detect and Build Images
|
||||
env:
|
||||
REPO_OWNER: ${{ git.repository_owner }}
|
||||
REPO_OWNER: ${{ github.repository_owner }}
|
||||
EVENT_NAME: ${{ github.event_name }}
|
||||
run: |
|
||||
apk add --no-cache bash findutils
|
||||
|
||||
FILES_TO_BUILD=""
|
||||
REGISTRY_HOST="git.chillcog.com"
|
||||
OWNER_LOWER=$(echo "$REPO_OWNER" | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
IF_OWNER="${REPO_OWNER:-chillcog}"
|
||||
OWNER_LOWER=$(echo "$IF_OWNER" | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
if [ "$EVENT_NAME" = "schedule" ] || [ "$EVENT_NAME" = "workflow_dispatch" ]; then
|
||||
echo "Scheduled or manual run triggered. Processing all YAML files..."
|
||||
|
||||
Reference in new issue
Block a user