Skip to content

Commit

Permalink
Merge branch 'Stefomat:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
mkody committed Nov 27, 2023
2 parents 16f3910 + 5cb6553 commit 0307c94
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/build_and_push.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and push Docker image from devel
name: Build and push Docker image

on:
workflow_dispatch:
Expand All @@ -18,25 +18,32 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log in to the Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64, linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM python:3.11.5-alpine3.18
FROM python:3.12.0-alpine3.18

RUN apk add --no-cache tini~=0.19.0

RUN apk add --no-cache ffmpeg~=6.0

RUN python -m pip install --no-cache-dir --upgrade streamlink==6.2.0
RUN python -m pip install --no-cache-dir --upgrade streamlink==6.3.1

COPY twitch-recorder.py /opt/

Expand Down

0 comments on commit 0307c94

Please sign in to comment.