mirror of
https://github.com/revanced/revanced-releases-api.git
synced 2025-05-01 06:54:26 +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
|
||||
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
|
||||
id: ghcr
|
||||
uses: docker/login-action@v1
|
||||
|
@ -1,5 +1,4 @@
|
||||
#FROM python:3.10-slim
|
||||
FROM ubuntu:22.04
|
||||
FROM python:3.10-slim
|
||||
|
||||
ARG GITHUB_TOKEN
|
||||
ENV GITHUB_TOKEN $GITHUB_TOKEN
|
||||
@ -18,8 +17,7 @@ WORKDIR /usr/src/app
|
||||
COPY . .
|
||||
|
||||
RUN apt update && \
|
||||
apt-get install build-essential libffi-dev \
|
||||
python3 python3-dev python3-pip -y && \
|
||||
pip install --no-cache-dir -r requirements.txt
|
||||
apt-get install build-essential libffi-dev -y \
|
||||
&& pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
CMD [ "/bin/bash", "./run.sh" ]
|
@ -14,7 +14,7 @@ services:
|
||||
restart: always
|
||||
revanced-releases-api:
|
||||
container_name: revanced-releases-api
|
||||
image: alexandreteles/revanced-releases-api:latest
|
||||
image: ghcr.io/alexandreteles/revanced-releases-api:latest
|
||||
environment:
|
||||
- GITHUB_TOKEN=YOUR_GITHUB_TOKEN
|
||||
- REDIS_URL=revanced-releases-api-redis
|
||||
|
@ -16,7 +16,7 @@ services:
|
||||
restart: always
|
||||
revanced-releases-api:
|
||||
container_name: revanced-releases-api
|
||||
image: alexandreteles/revanced-releases-api:latest
|
||||
image: ghcr.io/alexandreteles/revanced-releases-api:latest
|
||||
environment:
|
||||
- GITHUB_TOKEN=YOUR_GITHUB_TOKEN
|
||||
- REDIS_URL=revanced-releases-api-redis
|
||||
|
Loading…
x
Reference in New Issue
Block a user