This commit is contained in:
17
.gitea/workflows/ci-test.yml
Normal file
17
.gitea/workflows/ci-test.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Simple CI Test
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: linux
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Echo test
|
||||
run: |
|
||||
echo "Hello from Gitea Runner!"
|
||||
echo "Workspace: $(pwd)"
|
||||
ls -la
|
||||
@@ -1,25 +0,0 @@
|
||||
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