mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-13 22:39:06 +02:00
test docker build and push
This commit is contained in:
@@ -2,8 +2,8 @@ name: Build and Push Backend image to Docker Hub
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
# branches:
|
||||
# - 'main'
|
||||
paths:
|
||||
- '- "auth-service/**"'
|
||||
|
||||
@@ -24,5 +24,5 @@ jobs:
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
push: true
|
||||
context: backend
|
||||
context: auth-service
|
||||
tags: vcscsvcscs/gheritage-auth-service:latest
|
@@ -2,8 +2,8 @@ name: Build and Push Backend image to Docker Hub
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
# branches:
|
||||
# - 'main'
|
||||
paths:
|
||||
- '- "backend/**"'
|
||||
|
||||
|
9
.github/workflows/deploy_zitadel.yml
vendored
9
.github/workflows/deploy_zitadel.yml
vendored
@@ -1,5 +1,10 @@
|
||||
name: Deploy
|
||||
on: ['deployment']
|
||||
on:
|
||||
push:
|
||||
# branches:
|
||||
# - main
|
||||
paths:
|
||||
- 'deployment/zitadel_values.yaml'
|
||||
|
||||
jobs:
|
||||
deployment:
|
||||
@@ -21,7 +26,7 @@ jobs:
|
||||
value-files: "deployment/database_values.yaml"
|
||||
env:
|
||||
KUBECONFIG_FILE: '${{ secrets.KUBECONFIG }}'
|
||||
|
||||
|
||||
- name: 'Deploy Zitadel'
|
||||
uses: 'vimeda/helm@v1'
|
||||
with:
|
||||
|
4
.github/workflows/frontend-ci.yml
vendored
4
.github/workflows/frontend-ci.yml
vendored
@@ -8,9 +8,9 @@ jobs:
|
||||
lint:
|
||||
uses: ./.github/workflows/svelte_lint.yml
|
||||
with:
|
||||
working-directory: 'backend'
|
||||
working-directory: 'frontend'
|
||||
build:
|
||||
needs: lint
|
||||
uses: ./.github/workflows/svelte_build.yml
|
||||
with:
|
||||
working-directory: 'backend'
|
||||
working-directory: 'frontend'
|
||||
|
4
.github/workflows/svelte_build.yml
vendored
4
.github/workflows/svelte_build.yml
vendored
@@ -16,9 +16,9 @@ jobs:
|
||||
node-version: '21.x'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cd frontend
|
||||
cd ${{ inputs.working-directory }}
|
||||
npm ci
|
||||
- name: Build
|
||||
run: |
|
||||
cd frontend
|
||||
cd ${{ inputs.working-directory }}
|
||||
npm run build
|
4
.github/workflows/svelte_lint.yml
vendored
4
.github/workflows/svelte_lint.yml
vendored
@@ -16,9 +16,9 @@ jobs:
|
||||
node-version: '21.x'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cd frontend
|
||||
cd ${{ inputs.working-directory }}
|
||||
npm ci
|
||||
- name: Lint
|
||||
run: |
|
||||
cd frontend
|
||||
cd ${{ inputs.working-directory }}
|
||||
npm run lint
|
Reference in New Issue
Block a user