fix github build pipeline

This commit is contained in:
shibao 2022-02-19 16:51:46 -05:00
parent 7af2ac2b57
commit cc3b182e60
2 changed files with 11 additions and 6 deletions

View file

@ -9,13 +9,19 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and push
uses: docker/build-push-action@v2
with:

View file

@ -1,12 +1,11 @@
FROM python:3-alpine
RUN apk add --no-cache \
py3-pip \
py3-setuptools \
py3-distutils-extra \
git \
gcc \
libc-dev
py3-pip \
py3-setuptools \
python3-dev \
git \
build-base
WORKDIR /usr/src/app