Skip to content

Commit

Permalink
publish with ffmpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
benjick committed Feb 1, 2025
1 parent 7120a87 commit 6add15c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ jobs:
docker build -t ghcr.io/${{ env.REPO_LOWERCASE }}:latest .
docker build -f Dockerfile-alpine --target base -t ghcr.io/${{ env.REPO_LOWERCASE }}:alpine .
docker build -f Dockerfile-alpine --target basewithtools -t ghcr.io/${{ env.REPO_LOWERCASE }}:alpinewithtool .
docker build -f Dockerfile-alpine --target baseffmpeg -t ghcr.io/${{ env.REPO_LOWERCASE }}:alpineffmpeg .
- name: Push Docker images
run: |
docker push ghcr.io/${{ env.REPO_LOWERCASE }}:latest
docker push ghcr.io/${{ env.REPO_LOWERCASE }}:alpine
docker push ghcr.io/${{ env.REPO_LOWERCASE }}:alpinewithtool
docker push ghcr.io/${{ env.REPO_LOWERCASE }}:alpineffmpeg
5 changes: 4 additions & 1 deletion Dockerfile-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ FROM base AS basewithtools
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN apk add --no-cache libc6-compat && \
npm install -g pnpm@9.15.1 turbo@2.3.3
npm install -g pnpm@9.15.1 turbo@2.3.3

FROM base as baseffmpeg
RUN apk update && apk add --no-cache ffmpeg

0 comments on commit 6add15c

Please sign in to comment.