mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 13:11:15 -07:00
Automatic python3 Docker workflow
This commit is contained in:
parent
af46a02146
commit
b9a80d06e4
2 changed files with 4 additions and 3 deletions
2
.github/workflows/publishdocker-branch.yml
vendored
2
.github/workflows/publishdocker-branch.yml
vendored
|
@ -1,7 +1,7 @@
|
||||||
name: Publish Docker Branch
|
name: Publish Docker Branch
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [master, beta, nightly]
|
branches: [master, beta, nightly, python3]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM python:2.7.17-slim
|
FROM python:3.8.2-slim
|
||||||
|
|
||||||
LABEL maintainer="TheMeanCanEHdian"
|
LABEL maintainer="TheMeanCanEHdian"
|
||||||
|
|
||||||
|
@ -18,7 +18,8 @@ rm -rf /var/lib/apt/lists/* && \
|
||||||
pip install --no-cache-dir --upgrade pip && \
|
pip install --no-cache-dir --upgrade pip && \
|
||||||
pip install --no-cache-dir --upgrade \
|
pip install --no-cache-dir --upgrade \
|
||||||
pycryptodomex \
|
pycryptodomex \
|
||||||
pyopenssl && \
|
pyopenssl \
|
||||||
|
future && \
|
||||||
echo ${VERSION} > /app/version.txt && \
|
echo ${VERSION} > /app/version.txt && \
|
||||||
echo ${BRANCH} > /app/branch.txt
|
echo ${BRANCH} > /app/branch.txt
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue