mirror of
https://github.com/revanced/revanced-releases-api.git
synced 2025-05-01 15:04:24 +02:00
finish ghcr migration and move back to official python image
This commit is contained in:
parent
8430b9559a
commit
a114ef6d71
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@ -37,13 +37,6 @@ jobs:
|
|||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
- name: Login to DockerHub
|
|
||||||
id: login
|
|
||||||
uses: docker/login-action@v1
|
|
||||||
with:
|
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
id: ghcr
|
id: ghcr
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#FROM python:3.10-slim
|
FROM python:3.10-slim
|
||||||
FROM ubuntu:22.04
|
|
||||||
|
|
||||||
ARG GITHUB_TOKEN
|
ARG GITHUB_TOKEN
|
||||||
ENV GITHUB_TOKEN $GITHUB_TOKEN
|
ENV GITHUB_TOKEN $GITHUB_TOKEN
|
||||||
@ -18,8 +17,7 @@ WORKDIR /usr/src/app
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN apt update && \
|
RUN apt update && \
|
||||||
apt-get install build-essential libffi-dev \
|
apt-get install build-essential libffi-dev -y \
|
||||||
python3 python3-dev python3-pip -y && \
|
&& pip install --no-cache-dir -r requirements.txt
|
||||||
pip install --no-cache-dir -r requirements.txt
|
|
||||||
|
|
||||||
CMD [ "/bin/bash", "./run.sh" ]
|
CMD [ "/bin/bash", "./run.sh" ]
|
@ -14,7 +14,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
revanced-releases-api:
|
revanced-releases-api:
|
||||||
container_name: revanced-releases-api
|
container_name: revanced-releases-api
|
||||||
image: alexandreteles/revanced-releases-api:latest
|
image: ghcr.io/alexandreteles/revanced-releases-api:latest
|
||||||
environment:
|
environment:
|
||||||
- GITHUB_TOKEN=YOUR_GITHUB_TOKEN
|
- GITHUB_TOKEN=YOUR_GITHUB_TOKEN
|
||||||
- REDIS_URL=revanced-releases-api-redis
|
- REDIS_URL=revanced-releases-api-redis
|
||||||
|
@ -16,7 +16,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
revanced-releases-api:
|
revanced-releases-api:
|
||||||
container_name: revanced-releases-api
|
container_name: revanced-releases-api
|
||||||
image: alexandreteles/revanced-releases-api:latest
|
image: ghcr.io/alexandreteles/revanced-releases-api:latest
|
||||||
environment:
|
environment:
|
||||||
- GITHUB_TOKEN=YOUR_GITHUB_TOKEN
|
- GITHUB_TOKEN=YOUR_GITHUB_TOKEN
|
||||||
- REDIS_URL=revanced-releases-api-redis
|
- REDIS_URL=revanced-releases-api-redis
|
||||||
|
Loading…
x
Reference in New Issue
Block a user