This commit is contained in:
parent
0db0f874fa
commit
ef43ec73ad
2 changed files with 11 additions and 4 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -14,6 +14,8 @@ jobs:
|
||||||
# echo "${{ secrets.repo_password }}" | podman login -u $USERNAME --password-stdin $REPO
|
# echo "${{ secrets.repo_password }}" | podman login -u $USERNAME --password-stdin $REPO
|
||||||
docker login gitea.ceperka.net -u "${{ secrets.REPO_USERNAME }}" -p "${{ secrets.REPO_PASSWORD }}"
|
docker login gitea.ceperka.net -u "${{ secrets.REPO_USERNAME }}" -p "${{ secrets.REPO_PASSWORD }}"
|
||||||
task pipeline REPO=gitea.ceperka.net/rosti/runtime VERSION=pipeline
|
task pipeline REPO=gitea.ceperka.net/rosti/runtime VERSION=pipeline
|
||||||
|
- name: Cleaning step
|
||||||
|
if: always()
|
||||||
|
run: docker stop dev_test
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,14 @@ set TECHS_FILE /tmp/techs.txt
|
||||||
|
|
||||||
echo -n > $TECHS_FILE
|
echo -n > $TECHS_FILE
|
||||||
|
|
||||||
for line in (cat Dockerfile | grep "RUN build_")
|
for line in (cat Dockerfile | grep "build_" | grep -v "/usr/local")
|
||||||
set VERSION (echo $line | cut -d " " -f 3)
|
set line (echo $line | sed "s/RUN //")
|
||||||
set TECH_SCRIPT (echo $line | cut -d " " -f 2)
|
set line (echo $line | sed "s/ADD //")
|
||||||
|
set line (echo $line | sed "s/& \\\//")
|
||||||
|
set line (echo $line | sed "s/^[ ]*//")
|
||||||
|
|
||||||
|
set VERSION (echo $line | cut -d " " -f 2)
|
||||||
|
set TECH_SCRIPT (echo $line | cut -d " " -f 1)
|
||||||
|
|
||||||
switch $TECH_SCRIPT
|
switch $TECH_SCRIPT
|
||||||
case "build_php.sh"
|
case "build_php.sh"
|
||||||
|
|
Loading…
Reference in a new issue