Temporarily remove armv7 support

Revert "Added python3.8-dev/build-essential to dockerfile"

This reverts commit d90434c240.

Revert "Adds token to GH actions for GetTwitchDownloader"

This reverts commit a4ca1abb7c.
This commit is contained in:
Isaac Abadi
2023-05-07 01:18:28 -04:00
parent d6f39d37b5
commit 808c7e2112
5 changed files with 5 additions and 11 deletions

View File

@@ -32,7 +32,7 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm,linux/arm64/v8
platforms: linux/amd64,linux/arm64/v8
#platforms: linux/amd64
push: false
tags: tzahi12345/youtubedl-material:nightly-pr

View File

@@ -80,9 +80,7 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm,linux/arm64/v8
platforms: linux/amd64,linux/arm64/v8
push: true
tags: ${{ steps.docker-meta.outputs.tags }}
labels: ${{ steps.docker-meta.outputs.labels }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -80,10 +80,7 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm,linux/arm64/v8
platforms: linux/amd64,linux/arm64/v8
push: true
tags: ${{ steps.docker-meta.outputs.tags }}
labels: ${{ steps.docker-meta.outputs.labels }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -53,7 +53,7 @@ FROM base as python
WORKDIR /app
COPY docker-utils/GetTwitchDownloader.py .
RUN apt update && \
apt install -y --no-install-recommends python3-minimal python-is-python3 python3-pip python3.8-dev build-essential && \
apt install -y --no-install-recommends python3-minimal python-is-python3 python3-pip && \
apt clean && \
rm -rf /var/lib/apt/lists/*
RUN pip install PyGithub requests

View File

@@ -26,8 +26,7 @@ def getZipName():
def getLatestFileInRepo(repo, search_string):
# Create an unauthenticated instance of the Github object
gh_token = os.environ.get('GH_TOKEN')
g = Github(gh_token if gh_token else None) # ensure it's none if it's falsy
g = Github(os.environ.get('GH_TOKEN'))
# Replace with the repository owner and name
repo = g.get_repo(repo)