Обновить action.yaml

This commit is contained in:
Надежда Федорова 2024-04-15 19:47:16 +03:00
parent e07470e5ad
commit 4e4131a38e

View File

@ -37,7 +37,7 @@ runs:
github-server-url: ${{ gitea.server_url }}
- name: Get test for image
run: |
if test -f gitea-image-forge/org/$ORG/$IM/test; then testscript=$(cat ${{ gitea.workspace }}/org/$ORG/$IM/test); else testscript=""; fi
if test -f gitea-image-forge/org/$ORG/$IM/test; then testscript=$(cat gitea-image-forge/org/$ORG/$IM/test); else testscript=""; fi
echo "TEST=$testscript" >> ${GITHUB_ENV}
echo "test script: $testscript"
if [[ $ORG == 'k8s' ]]; then echo "IMAGEPATH=$ORG-$BR/$IM" >> ${GITHUB_ENV}; else echo "IMAGEPATH=$ORG/$IM:${{ inputs.branch }}" >> ${GITHUB_ENV}; fi