remove deb.multimedia, test containers actions

This commit is contained in:
Luke Berndt
2024-07-04 09:12:47 -04:00
parent c9c7cf54f2
commit 9b7de52c05
2 changed files with 40 additions and 6 deletions

36
.github/workflows/docker-build.yaml vendored Normal file
View File

@@ -0,0 +1,36 @@
name: Container Processing
on:
push:
branches: [ "master" ]
jobs:
push_to_registry:
strategy:
matrix:
service: [account, admin, backend, frontend, mongo, nginx-proxy]
name: Push Docker image to DockerHub
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
version: latest
- name: Log in to DockerHub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: ${{ matrix.service }}
platforms: linux/arm64,linux/amd64
push: true
tags: ${{ vars.DOCKER_NAMESPACE }}/trunk-server-${{ matrix.service }}:latest

View File

@@ -3,13 +3,11 @@
FROM node:19-bullseye
# RUN echo deb https://www.deb-multimedia.org bullseye main non-free \
# >>/etc/apt/sources.list && apt-get update -oAcquire::AllowInsecureRepositories=true &&\
# apt-get install -y --force-yes deb-multimedia-keyring && \
#RUN useradd --user-group --create-home --shell /bin/false app &&\
# npm install --global npm@3.7.5
RUN echo deb https://www.deb-multimedia.org bullseye main non-free \
>>/etc/apt/sources.list && apt-get update -oAcquire::AllowInsecureRepositories=true &&\
apt-get install -y --force-yes deb-multimedia-keyring && \
apt-get update && \
RUN apt-get update && \
apt-get install -y ffmpeg cron python build-essential g++
ENV HOME=/home/app