fix: Replace Kaniko with standard docker build to avoid context mounting issues
Build Institutional Trader / build-and-deploy (push) Successful in 1m37s
Details
Build Institutional Trader / build-and-deploy (push) Successful in 1m37s
Details
This commit is contained in:
parent
189d33e65e
commit
85e9e523d9
|
|
@ -10,15 +10,7 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Build and push (Kaniko)
|
||||
- name: Build and push
|
||||
run: |
|
||||
JOB_CONTAINER=$(docker ps --format '{{.Names}}' | grep 'GITEA-ACTIONS-TASK' | head -1)
|
||||
docker run --rm \
|
||||
--volumes-from "$JOB_CONTAINER" \
|
||||
gcr.io/kaniko-project/executor:latest \
|
||||
--context=dir://"$GITHUB_WORKSPACE" \
|
||||
--dockerfile="$GITHUB_WORKSPACE/Dockerfile" \
|
||||
--destination=192.168.8.250:5000/market:latest \
|
||||
--insecure \
|
||||
--skip-tls-verify \
|
||||
--no-cache
|
||||
docker build -t 192.168.8.250:5000/market:latest .
|
||||
docker push 192.168.8.250:5000/market:latest
|
||||
|
|
|
|||
Loading…
Reference in New Issue