File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
testsuite/dockerfiles/postgresql Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -283,3 +283,34 @@ jobs:
283
283
push : true
284
284
tags : ${{ steps.meta.outputs.tags }}
285
285
labels : ${{ steps.meta.outputs.labels }}
286
+
287
+ build-and-push-postgresql-image :
288
+ runs-on : ubuntu-latest
289
+ permissions :
290
+ contents : read
291
+ packages : write
292
+
293
+ steps :
294
+ - name : Checkout repository
295
+ uses : actions/checkout@v4
296
+
297
+ - name : Log in to the Container registry
298
+ uses : docker/login-action@v3
299
+ with :
300
+ registry : ${{ env.REGISTRY }}
301
+ username : ${{ github.actor }}
302
+ password : ${{ secrets.GITHUB_TOKEN }}
303
+
304
+ - name : Extract metadata (tags, labels) for Docker
305
+ id : meta
306
+ uses : docker/metadata-action@v5
307
+ with :
308
+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/ci-postgresql
309
+
310
+ - name : Build and push Docker image
311
+ uses : docker/build-push-action@v5
312
+ with :
313
+ context : ./testsuite/dockerfiles/postgresql/
314
+ push : true
315
+ tags : ${{ steps.meta.outputs.tags }}
316
+ labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: MIT
2
+ FROM registry.opensuse.org/systemsmanagement/uyuni/master/containers/uyuni/server-postgresql:latest
3
+
4
+ ENTRYPOINT ["/usr/local/bin/uyuni-entrypoint.sh" ]
5
+ CMD ["postgres" ]
You can’t perform that action at this time.
0 commit comments