Fix workflow: use apt-get for Python instead of setup-python action
Some checks failed
/ build (push) Failing after 13s
Some checks failed
/ build (push) Failing after 13s
This commit is contained in:
parent
44a16dea98
commit
970135a39d
1 changed files with 4 additions and 6 deletions
|
|
@ -13,9 +13,10 @@ jobs:
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: https://code.forgejo.org/actions/setup-python@v5
|
run: |
|
||||||
with:
|
apt-get update && apt-get install -y python3 python3-pip python3-venv
|
||||||
python-version: '3.11'
|
pip3 install -r requirements.txt
|
||||||
|
pip3 install pyinstaller
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -78,9 +79,6 @@ jobs:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
# Restart docker to pick up new config
|
|
||||||
pkill dockerd || true
|
|
||||||
sleep 2
|
|
||||||
# Build with buildkit
|
# Build with buildkit
|
||||||
DOCKER_BUILDKIT=1 docker build --network=host -t registry.derickphan.com/tinyweb:$TAG .
|
DOCKER_BUILDKIT=1 docker build --network=host -t registry.derickphan.com/tinyweb:$TAG .
|
||||||
docker push registry.derickphan.com/tinyweb:$TAG
|
docker push registry.derickphan.com/tinyweb:$TAG
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue