Skip to content

Build Postgres image #24

Build Postgres image

Build Postgres image #24

name: Build Postgres image
on:
workflow_dispatch:
schedule:
# Do it on Mondays :)
- cron: "0 0 * * 1"
jobs:
build-gvmi:
name: Build Postgres GVMI
runs-on: ubuntu-latest
steps:
- name: Checkout files
uses: actions/checkout@v3
- name: Install gvmkit-build
run: pip install gvmkit-build
- name: Build and publish image
working-directory: ./images/postgres
env:
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
run: |
docker build -t golem/postgres:16 -f Dockerfile.16 .
gvmkit-build --push golem/postgres:16