mirror of
https://github.com/fotoente/MIsskey-ebooks-bot
synced 2024-11-10 05:44:14 +00:00
fix github build pipeline
This commit is contained in:
parent
7af2ac2b57
commit
cc3b182e60
2 changed files with 11 additions and 6 deletions
6
.github/workflows/dockerhub.yml
vendored
6
.github/workflows/dockerhub.yml
vendored
|
@ -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:
|
||||
|
|
11
Dockerfile
11
Dockerfile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue