Skip to content

Include sitebase in json response #58

Include sitebase in json response

Include sitebase in json response #58

name: Publish jinjapdf container
on:
push:
branches:
- master
- main
paths:
- postgresqleu/**
- tools/deploystatic/jinjapdf-docker/**
# Allow manual run
workflow_dispatch:
# Schedule a run once a month to get updated base packages
schedule:
- cron: "0 0 1 * *"
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-jinjapdf-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
attestations: write
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push docker image
id: push
uses: docker/build-push-action@v6
with:
context: .
file: tools/deploystatic/jinjapdf-docker/Dockerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/pgeusys-jinjapdf:latest , ghcr.io/${{ github.repository_owner }}/pgeusys-jinjapdf:${{ github.sha }}