File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,7 +109,35 @@ jobs:
109109 with :
110110 asset_paths : ' ["build/*/*.pkg"]'
111111
112- docker :
112+ docker-amd :
113+ runs-on : ubuntu-latest
114+ steps :
115+ - uses : actions/checkout@v3
116+ - name : Log in to Docker Hub
117+ uses : docker/login-action@v2
118+ with :
119+ username : ${{ secrets.DOCKERHUB_USERNAME }}
120+ password : ${{ secrets.DOCKERHUB_TOKEN }}
121+ - name : Extract metadata (tags, labels) for Docker
122+ id : meta
123+ uses : docker/metadata-action@v4
124+ with :
125+ images : deepstreamio/deepstream.io
126+ flavor : |
127+ latest=true
128+ tags : |
129+ type=semver,pattern={{version}}
130+ - name : Build and push Docker image
131+ uses : docker/build-push-action@v4
132+ with :
133+ context : .
134+ file : Dockerfile
135+ push : true
136+ platforms : linux/amd64
137+ tags : ${{ steps.meta.outputs.tags }}
138+ labels : ${{ steps.meta.outputs.labels }}
139+
140+ docker-arm :
113141 runs-on : ubuntu-latest
114142 steps :
115143 - uses : docker/setup-qemu-action@v1
@@ -135,7 +163,7 @@ jobs:
135163 context : .
136164 file : Dockerfile
137165 push : true
138- platforms : linux/amd64,linux/ arm64
166+ platforms : linux/arm64
139167 tags : ${{ steps.meta.outputs.tags }}
140168 labels : ${{ steps.meta.outputs.labels }}
141169
Original file line number Diff line number Diff line change 11FROM node:18 as builder
22WORKDIR /app
3- # RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
4- # RUN unzip awscliv2.zip
5- # RUN ./aws/install
63
74COPY package*.json ./
85
You can’t perform that action at this time.
0 commit comments