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
|
||||
docker login gitea.ceperka.net -u "${{ secrets.REPO_USERNAME }}" -p "${{ secrets.REPO_PASSWORD }}"
|
||||
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
|
||||
|
||||
for line in (cat Dockerfile | grep "RUN build_")
|
||||
set VERSION (echo $line | cut -d " " -f 3)
|
||||
set TECH_SCRIPT (echo $line | cut -d " " -f 2)
|
||||
for line in (cat Dockerfile | grep "build_" | grep -v "/usr/local")
|
||||
set line (echo $line | sed "s/RUN //")
|
||||
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
|
||||
case "build_php.sh"
|
||||
|
|
Loading…
Reference in a new issue