Compare commits

...

2 Commits

Author SHA1 Message Date
fc37d5e1b6 Merge branch 'main' of https://gitea.chosesoft.eu/xchose/actRunners
Some checks failed
CI / build (push) Failing after 54s
2025-01-20 15:15:24 +01:00
346ada6521 arrange 2025-01-20 15:14:48 +01:00
2 changed files with 36 additions and 0 deletions

34
.gitea/workflows/ci.yml Normal file
View File

@ -0,0 +1,34 @@
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
npm install
- name: Run tests
run: |
npm test
- name: Build Docker image
run: |
docker build -t my-app .
- name: Push Docker image to Gitea registry
run: |
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker push my-app:latest

View File

@ -0,0 +1,2 @@
name: Build And Test
run-name: ${{ gitea.actor }} is runs ci pipeline