Skip to content

Commit

Permalink
ci: add mkcert
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Dec 10, 2024
1 parent 19cc8f5 commit 802413a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
secrets:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
APT_PACKAGES: mkcert
DRY_RUN: true
build:
name: Build
Expand All @@ -50,3 +51,5 @@ jobs:
contents: write
secrets:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
APT_PACKAGES: mkcert
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ ENV CI=true

WORKDIR /srv/app/

RUN corepack enable
RUN corepack enable \
&& apt-get update \
&& apt-get install --no-install-recommends -y \
mkcert \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*


#############
Expand Down Expand Up @@ -91,7 +96,8 @@ RUN pnpm -r run lint

# WORKDIR /srv/app/

# RUN corepack enable
# RUN corepack enable \
# && apt update && apt install mkcert


# ########################
Expand Down

0 comments on commit 802413a

Please sign in to comment.