feat: add Dockerfile and CI workflow for image build

This commit is contained in:
Jan K9f 2025-02-19 10:11:18 +01:00
parent 695a1073a9
commit a8a7d4296a
Signed by: jank
GPG key ID: 22BEAC760B3333D6
2 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,18 @@
from imbios/bun-node
jobs:
build:
name: Build and push image
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps:
- name: Build Docker image
uses: https://git.kjan.de/actions/docker-build@v1
with:
name: node-npm
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}