This commit is contained in:
parent
702083e961
commit
029375399f
@ -19,12 +19,5 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: "Where are my files????"
|
|
||||||
run: |
|
|
||||||
bash -c "pwd && ls -laR"
|
|
||||||
|
|
||||||
- name: Run Build Script
|
- name: Run Build Script
|
||||||
run: docker-compose run build
|
run: "bash ${{ gitea.workspace }}/build_ci_cd.sh"
|
||||||
working-directory: ${{ gitea.workspace }}
|
|
||||||
- name: Upload NuGet Package
|
|
||||||
run: "bash ${{ gitea.workspace }}/publish.sh"
|
|
||||||
|
10
build_ci_cd.sh
Normal file
10
build_ci_cd.sh
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd $(dirname "$0")
|
||||||
|
if [ -z "$QUIK_API_KEY" ]
|
||||||
|
then
|
||||||
|
echo "Please define QUIK_API_KEY"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
docker-compose run build && docker-compose run publish
|
@ -3,6 +3,14 @@ version: "2"
|
|||||||
services:
|
services:
|
||||||
build:
|
build:
|
||||||
image: git.mixedup.dev/quik/docker-cross-compiler
|
image: git.mixedup.dev/quik/docker-cross-compiler
|
||||||
command: "ls -laR"
|
command: "/home/quik/src/build_native.sh"
|
||||||
volumes:
|
volumes:
|
||||||
- .:/home/quik/src
|
- .:/home/quik/src
|
||||||
|
publish:
|
||||||
|
image: git.mixedup.dev/quik/docker-cross-compiler
|
||||||
|
command: "/home/quik/src/publish.sh"
|
||||||
|
environment:
|
||||||
|
QUIK_API_KEY: ${QUIK_API_KEY}
|
||||||
|
volumes:
|
||||||
|
- .:/home/quik/src
|
||||||
|
|
Loading…
Reference in New Issue
Block a user