Initial Commit
All checks were successful
Build and Push Docker Image / build (push) Successful in 3m6s

This commit is contained in:
2026-05-30 12:52:07 +02:00
commit 6d6dcb66a1
62 changed files with 12208 additions and 0 deletions

39
.github/workflows/docker.yaml vendored Normal file
View File

@@ -0,0 +1,39 @@
name: Build and Push Docker Image
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
container:
image: quay.io/buildah/stable
options: --security-opt seccomp=unconfined --security-opt apparmor=unconfined --device /dev/fuse:rw --privileged
env:
BUILDAH_ISOLATION: chroot
STORAGE_DRIVER: vfs
steps:
- name: Install Node.js
run: dnf install -y nodejs git
- uses: actions/checkout@v4
with:
token: ${{ secrets.REGISTRY_PASSWORD }}
submodules: true
- name: Login to Registry
run: buildah login -u ${{ secrets.REGISTRY_USER }} -p ${{ secrets.REGISTRY_PASSWORD }} git.kocoder.xyz
- name: Buildah Build
run: |
buildah build -t ${{ github.sha }} .
buildah tag ${{ github.sha }} latest
- name: Push Docker Images
run: |
buildah push ${{ github.sha }} docker://git.kocoder.xyz/vt/solid-demo:${{ github.sha }}
buildah push latest docker://git.kocoder.xyz/vt/solid-demo:latest