Compare commits
No commits in common. "fc37d5e1b6194472e573dd83ce6e1d1e0f54a05f" and "c731d5c977e4e83e9c9ca622964982646501d8e2" have entirely different histories.
fc37d5e1b6
...
c731d5c977
@ -1,34 +0,0 @@
|
|||||||
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
|
|
@ -1,2 +0,0 @@
|
|||||||
name: Build And Test
|
|
||||||
run-name: ${{ gitea.actor }} is runs ci pipeline
|
|
Loading…
x
Reference in New Issue
Block a user