from harness to gitea maybe less secrets
This commit is contained in:
28
.gitea/workflows/cicd.yaml
Normal file
28
.gitea/workflows/cicd.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
name: cicd
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'src/**'
|
||||
|
||||
jobs:
|
||||
cicd:
|
||||
name: cicd
|
||||
runs-on: dind
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: cicd
|
||||
run: |
|
||||
set -ueo pipefail
|
||||
|
||||
docker run \
|
||||
--rm \
|
||||
-it \
|
||||
-v "$PWD":/mnt \
|
||||
-w /mnt \
|
||||
-e FIREBASE_CI_TOKEN="$FIREBASE_CI_TOKEN" \
|
||||
-e GITLAB_PAT="$GITLAB_PAT" \
|
||||
registry-app.inhome.blapointe.com:5001/portfolio/resume/builder:latest \
|
||||
bash ./build/firebase.sh
|
||||
Reference in New Issue
Block a user