Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
tags: [ 'v*.*.*' ]
pull_request:
branches: [ master ]
tags: ["test"]

env:
# Use docker.io for Docker Hub if empty
Expand Down Expand Up @@ -56,6 +57,7 @@ jobs:
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
# push: ${{ github.event_name != 'pull_request' }}
push: ${{github.event_name}}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,17 @@ RUN curl -fsSL https://deb.nodesource.com/setup_12.x | bash - \
&& apt-get install -y nodejs \
&& npm install -g yarn

RUN apt-get update && apt-get install -y --no-install-recommends \
make \
g++ \
libc6-dev \
&& rm -rf /var/lib/apt/lists/*

RUN npm -g install -y --unsafe-perm\
ffi-napi \
jimp \
pixelmatch \
ref-napi \
ref-struct-napi

CMD ["haxe"]