File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 1414 build_and_push_docker_image :
1515 name : Push Docker image to ghcr
1616 runs-on : ubuntu-latest
17+ strategy :
18+ matrix :
19+ include :
20+ - file : Dockerfile
21+ image : ghcr.io/espressosystems/ubuntu-base
22+ - file : nodejs.Dockerfile
23+ image : ghcr.io/espressosystems/nodejs-base
1724 steps :
1825 - uses : actions/checkout@v4
1926 - uses : docker/setup-qemu-action@v3
@@ -31,12 +38,13 @@ jobs:
3138 uses : docker/metadata-action@v5
3239 id : metadata
3340 with :
34- images : ghcr.io/espressosystems/ubuntu-base
41+ images : ${{ matrix.image }}
3542
3643 - name : Build and push docker
3744 uses : docker/build-push-action@v6
3845 with :
3946 context : .
47+ file : ${{ matrix.file }}
4048 push : ${{ github.event_name != 'pull_request' }}
4149 tags : ${{ steps.metadata.outputs.tags }}
4250 labels : ${{ steps.metadata.outputs.labels }}
Original file line number Diff line number Diff line change 1+ FROM ubuntu:24.04
2+
3+ RUN apt-get update \
4+ && apt-get install -y --no-install-recommends tini curl libcurl4 nodejs npm libusb-1.0.0 \
5+ && rm -rf /var/lib/apt/lists/* \
6+ && npm install -g yarn \
7+ && yarn global add typescript ts-node \
8+ && rm -rf /usr/local/share/.cache
9+
10+ ENTRYPOINT ["tini" , "--" ]
You can’t perform that action at this time.
0 commit comments