diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 59ab970..6f8690b 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -12,6 +12,7 @@ on: tags: [ 'v*.*.*' ] pull_request: branches: [ master ] + tags: ["test"] env: # Use docker.io for Docker Hub if empty @@ -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 }} diff --git a/Dockerfile b/Dockerfile index 585bfc5..c66c0ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]