Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
skhaz committed Nov 8, 2023
1 parent 373c773 commit 046d128
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ jobs:
run: |
gcloud config set run/region ${{ secrets.REGION }}
gcloud config set builds/use_kaniko True
gcloud config set app/cloud_build_timeout 900
gcloud run deploy ${{ secrets.SERVICE_NAME }} --source $(pwd) --platform managed --allow-unauthenticated
gcloud run services update-traffic ${{ secrets.SERVICE_NAME }} --to-latest
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
FROM ubuntu:jammy

# FROM build
RUN apt-get update && apt-get upgrade -y && apt-get install -y build-essential cmake git python3 python3-pip wget zip
RUN pip install conan
RUN conan profile detect

#COPY profile ~/.conan2/profiles/webassembly

RUN printf '\n\
include(default) \n\
\n\
Expand All @@ -28,11 +25,11 @@ WORKDIR /opt/carimbo/build

RUN conan install .. --output-folder=. --build=missing --profile=webassembly --settings compiler.cppstd=20 --settings build_type=Release

RUN cmake .. -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" -DCMAKE_BUILD_TYPE=Release
RUN cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release

RUN cmake --build . --config Release --jobs $(nproc)
RUN cmake --build . --config Release

FROM golang:1.21
# FROM golang:1.21
# WORKDIR /opt
# COPY go.mod .
# COPY go.sum .
Expand Down

0 comments on commit 046d128

Please sign in to comment.