Ready to clone and code.

This commit is contained in:
simon
2026-03-01 15:33:31 +00:00
committed by github-actions[bot]
parent 2410173af1
commit d488434323
10 changed files with 20 additions and 107 deletions

View File

@@ -41,7 +41,7 @@ jobs:
- name: Check version match
run: |
REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_')
if [ "$(cat project_name/VERSION)" = "${GITHUB_REF_NAME}" ] ; then
if [ "$(cat n8n_ollama/VERSION)" = "${GITHUB_REF_NAME}" ] ; then
echo "Version matches successfully!"
else
echo "Version must match!"
@@ -57,5 +57,5 @@ jobs:
run: |
REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}' | tr '[:upper:]' '[:lower:]')
REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_')
docker build -t "git.disi.dev/$REPOSITORY_OWNER/project_name:$(cat project_name/VERSION)" -f Containerfile ./
docker push "git.disi.dev/$REPOSITORY_OWNER/project_name:$(cat project_name/VERSION)"
docker build -t "git.disi.dev/$REPOSITORY_OWNER/n8n_ollama:$(cat n8n_ollama/VERSION)" -f Containerfile ./
docker push "git.disi.dev/$REPOSITORY_OWNER/n8n_ollama:$(cat n8n_ollama/VERSION)"