?
This commit is contained in:
parent
49c5e1b4da
commit
07148545af
|
@ -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
9
Dockerfile
Normal 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"]
|
Loading…
Reference in a new issue