This commit is contained in:
@@ -9,7 +9,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push-image:
|
build-and-push-image:
|
||||||
runs-on: ubuntu-latest
|
runs-on: asrock
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -27,4 +27,6 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ env.GITEA_DOMAIN }}/${{ env.RESULT_IMAGE_NAME }}:latest
|
tags: |
|
||||||
|
${{ env.GITEA_DOMAIN }}/${{ env.RESULT_IMAGE_NAME }}:latest
|
||||||
|
${{ env.GITEA_DOMAIN }}/${{ env.RESULT_IMAGE_NAME }}:v0.0.11
|
||||||
+1
-1
@@ -4,7 +4,7 @@ RUN apk update
|
|||||||
RUN apk add --no-cache cmake g++ make git
|
RUN apk add --no-cache cmake g++ make git
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
RUN git clone --depth 1 --branch v0.0.5 https://git.tesses.org/tesses50/tessesframework.git .
|
RUN git clone --depth 1 --branch v0.0.11 https://git.tesses.org/tesses50/tessesframework.git .
|
||||||
|
|
||||||
RUN mkdir build && cd build && cmake -S .. -B . -DTESSESFRAMEWORK_STATIC=ON -DTESSESFRAMEWORK_ENABLE_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release && make -j`nproc`
|
RUN mkdir build && cd build && cmake -S .. -B . -DTESSESFRAMEWORK_STATIC=ON -DTESSESFRAMEWORK_ENABLE_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release && make -j`nproc`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user