Skip to content

Commit

Permalink
Merge pull request #351 from Klimatbyran/staging
Browse files Browse the repository at this point in the history
Deploy base image and garbo to prod with all native deps
  • Loading branch information
Greenheart authored Nov 28, 2024
2 parents b006495 + 935f6b7 commit 9b5046b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,20 @@ jobs:
runs-on: ubuntu-latest
needs: version

# Add concurrency check for base image
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

steps:
- name: 🔍 Wait for base image workflow
uses: lewagon/[email protected]
with:
ref: ${{ github.ref }}
check-name: 'build-and-push'
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
allowed-conclusions: success,skipped
- name: 🛎️ Checkout
uses: actions/checkout@v4

Expand Down
10 changes: 10 additions & 0 deletions Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,21 @@ RUN apk add --no-cache \
freetype \
freetype-dev \
harfbuzz \
python3 \
make \
g++ \
ca-certificates \
ttf-freefont \
pixman-dev \
cairo-dev \
pango-dev \
giflib-dev \
libjpeg-turbo-dev \
ghostscript \
graphicsmagick

# TODO: Remove unused native dependencies: `cairo`, `pango`, `pixman`, `giflib` and maybe others?

COPY package*.json /app/
WORKDIR /app
RUN npm ci --omit=dev

0 comments on commit 9b5046b

Please sign in to comment.