mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-16 17:50:57 +03:00
Compare commits
2 Commits
docker-hot
...
remove-arm
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
808c7e2112 | ||
|
|
d6f39d37b5 |
2
.github/workflows/docker-pr.yml
vendored
2
.github/workflows/docker-pr.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
platforms: linux/amd64,linux/arm,linux/arm64/v8
|
platforms: linux/amd64,linux/arm64/v8
|
||||||
#platforms: linux/amd64
|
#platforms: linux/amd64
|
||||||
push: false
|
push: false
|
||||||
tags: tzahi12345/youtubedl-material:nightly-pr
|
tags: tzahi12345/youtubedl-material:nightly-pr
|
||||||
4
.github/workflows/docker-release.yml
vendored
4
.github/workflows/docker-release.yml
vendored
@@ -80,9 +80,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
platforms: linux/amd64,linux/arm,linux/arm64/v8
|
platforms: linux/amd64,linux/arm64/v8
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.docker-meta.outputs.tags }}
|
tags: ${{ steps.docker-meta.outputs.tags }}
|
||||||
labels: ${{ steps.docker-meta.outputs.labels }}
|
labels: ${{ steps.docker-meta.outputs.labels }}
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|||||||
5
.github/workflows/docker.yml
vendored
5
.github/workflows/docker.yml
vendored
@@ -80,10 +80,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
platforms: linux/amd64,linux/arm,linux/arm64/v8
|
platforms: linux/amd64,linux/arm64/v8
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.docker-meta.outputs.tags }}
|
tags: ${{ steps.docker-meta.outputs.tags }}
|
||||||
labels: ${{ steps.docker-meta.outputs.labels }}
|
labels: ${{ steps.docker-meta.outputs.labels }}
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ FROM base as python
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY docker-utils/GetTwitchDownloader.py .
|
COPY docker-utils/GetTwitchDownloader.py .
|
||||||
RUN apt update && \
|
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 && \
|
apt clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
RUN pip install PyGithub requests
|
RUN pip install PyGithub requests
|
||||||
|
|||||||
@@ -26,8 +26,7 @@ def getZipName():
|
|||||||
|
|
||||||
def getLatestFileInRepo(repo, search_string):
|
def getLatestFileInRepo(repo, search_string):
|
||||||
# Create an unauthenticated instance of the Github object
|
# Create an unauthenticated instance of the Github object
|
||||||
gh_token = os.environ.get('GH_TOKEN')
|
g = Github(os.environ.get('GH_TOKEN'))
|
||||||
g = Github(gh_token if gh_token else None) # ensure it's none if it's falsy
|
|
||||||
|
|
||||||
# Replace with the repository owner and name
|
# Replace with the repository owner and name
|
||||||
repo = g.get_repo(repo)
|
repo = g.get_repo(repo)
|
||||||
|
|||||||
Reference in New Issue
Block a user