feat: add Dockerfile and CI workflow for image build
This commit is contained in:
parent
695a1073a9
commit
a8a7d4296a
2 changed files with 56 additions and 0 deletions
18
.gitea/bunPipeline/Dockerfile
Normal file
18
.gitea/bunPipeline/Dockerfile
Normal 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 }}
|
Reference in a new issue