Add CI to galt branch
This commit is contained in:
33
.gitea/workflows/galt-test-frontend-build.yaml
Normal file
33
.gitea/workflows/galt-test-frontend-build.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
name: Build Feedmee Next.js Frontend App
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./feedmee
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- galt
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Log in to Gitea Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{vars.REGISTRY_URL}}
|
||||
username: ${{vars.ACTOR}}
|
||||
password: ${{secrets.TOKEN}}
|
||||
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
docker build -f Dockerfile -t ${{vars.REGISTRY_URL}}/${{github.repository}}-frontend-galt-test:latest .
|
||||
|
||||
- name: Push Docker image
|
||||
run: |
|
||||
docker push ${{vars.REGISTRY_URL}}/${{github.repository}}-frontend-galt-test:latest
|
||||
Reference in New Issue
Block a user