Automatic python3 Docker workflow
This commit is contained in:
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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user