Remove GitLab CI configuration and update Gitea workflow to use 'master' branch and specify Dockerfile path.
Some checks failed
Build and push image / docker-build (push) Failing after 12s
Some checks failed
Build and push image / docker-build (push) Failing after 12s
This commit is contained in:
@@ -3,7 +3,7 @@ name: Build and push image
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
|
||||
jobs:
|
||||
docker-build:
|
||||
@@ -14,6 +14,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Login to registry
|
||||
env:
|
||||
@@ -27,6 +29,7 @@ jobs:
|
||||
IMAGE_TAG: ${{ gitea.sha }}
|
||||
run: |
|
||||
docker build \
|
||||
-f docker/Dockerfile_app \
|
||||
-t "${IMAGE_NAME}:${IMAGE_TAG}" \
|
||||
-t "${IMAGE_NAME}:latest" \
|
||||
.
|
||||
|
||||
Reference in New Issue
Block a user