Skip to content

Commit

Permalink
chore: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpoensgen committed Dec 19, 2023
0 parents commit d0e32ab
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"groupName": "all dependencies",
"separateMajorMinor": false,
"groupSlug": "all",
"rangeStrategy": "pin",
"schedule": ["on monday before 6am"]
}
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build

on:
workflow_dispatch:
push:
branches:
- main

permissions:
packages: write
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#syntax=docker/dockerfile:1.6
FROM node as mjml
RUN npm install -g [email protected] && \
npm install -g [email protected] && \
pkg /usr/local/lib/node_modules/mjml/bin/mjml -t node14-alpine-x64 -o /mjml

FROM scratch
COPY --from=mjml /mjml /mjml

0 comments on commit d0e32ab

Please sign in to comment.