Automatic python3 Docker workflow

This commit is contained in:
JonnyWong16 2020-03-19 20:18:57 -07:00
parent af46a02146
commit b9a80d06e4
2 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,7 @@
name: Publish Docker Branch
on:
push:
branches: [master, beta, nightly]
branches: [master, beta, nightly, python3]
jobs:
build:
runs-on: ubuntu-latest

View file

@ -1,4 +1,4 @@
FROM python:2.7.17-slim
FROM python:3.8.2-slim
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 \
pycryptodomex \
pyopenssl && \
pyopenssl \
future && \
echo ${VERSION} > /app/version.txt && \
echo ${BRANCH} > /app/branch.txt