17 lines
403 B
YAML
17 lines
403 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: Updater
|
|
|
|
steps:
|
|
- name: update
|
|
image: eclipse-temurin:17.0.6_10-jdk-focal
|
|
entrypoint: [ "/bin/bash" ]
|
|
commands:
|
|
- apt update
|
|
- apt install -y --no-install-recommends pipx python3-venv
|
|
- pipx install pipenv
|
|
- pipx ensurepath
|
|
- export PATH=/root/.local/bin:$PATH
|
|
- pipenv install
|
|
- cd updater
|
|
- pipenv --python /usr/bin/python3.9 run python main.py
|