File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -187,3 +187,38 @@ jobs:
187
187
files : checksum.txt
188
188
env :
189
189
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
190
+
191
+ push-docker-image :
192
+ runs-on : ubuntu-latest
193
+ steps :
194
+ - name : Checkout
195
+ uses : actions/checkout@v3
196
+
197
+ - name : Set up QEMU
198
+ uses : docker/setup-qemu-action@v3
199
+ with :
200
+ image : tonistiigi/binfmt:qemu-v8.1.5
201
+
202
+ - name : Set up Docker Buildx
203
+ uses : docker/setup-buildx-action@v3
204
+
205
+ - name : Login to Docker Hub
206
+ uses : docker/login-action@v3
207
+ with :
208
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
209
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
210
+
211
+ - name : Extract metadata (tags, labels) for Docker
212
+ id : meta
213
+ uses : docker/metadata-action@v5
214
+ with :
215
+ images : parseable/parseable
216
+
217
+ - name : Build and push
218
+ uses : docker/build-push-action@v6
219
+ with :
220
+ context : .
221
+ file : ./Dockerfile
222
+ push : true
223
+ tags : parseable/parseable:${{ github.ref_name }}
224
+ platforms : linux/amd64,linux/arm64
You can’t perform that action at this time.
0 commit comments