This commit is contained in:
@@ -1,16 +0,0 @@
|
|||||||
name: Simple Shell Test
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
runs-on: linux
|
|
||||||
steps:
|
|
||||||
- name: System check
|
|
||||||
run: |
|
|
||||||
echo "=== System Info ==="
|
|
||||||
uname -a
|
|
||||||
echo "Node: $(which node 2>/dev/null || echo 'NOT FOUND')"
|
|
||||||
echo "Path: $PATH"
|
|
||||||
ls /usr/local/bin/
|
|
||||||
25
.gitea/workflows/docker-build.yml
Normal file
25
.gitea/workflows/docker-build.yml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: Docker Build & Push
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: linux
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Login to Gitea Container Registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: git.kgessner.de
|
||||||
|
username: ${{ gitea.actor }}
|
||||||
|
password: ${{ secrets.GITEATOKEN }}
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
tags: git.kgessner.de/luiicode/test-image:latest
|
||||||
Reference in New Issue
Block a user