This commit is contained in:
Anri Kennel 2024-02-19 13:14:56 +01:00
parent 49c5e1b4da
commit 07148545af
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 21 additions and 3 deletions

View file

@ -1,6 +1,15 @@
on: [push]
jobs:
test:
build:
runs-on: docker
steps:
- run: echo All Good
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push to local registry
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: git.mylloon.fr/${CI_REPO_OWNER}/${CI_REPO}:latest

9
Dockerfile Normal file
View file

@ -0,0 +1,9 @@
# syntax=docker/dockerfile:1
FROM node:20.2.0-bullseye-slim
RUN apt-get update && \
apt-get install -y dumb-init && \
rm -rf /var/lib/apt/lists/*
CMD ["dumb-init", "sleep", "infinity"]