Skip to content

fix: add missing permissions in GitHub action #94

fix: add missing permissions in GitHub action

fix: add missing permissions in GitHub action #94

Workflow file for this run

---
name: Build PostgreSQL images
on:
schedule:
- cron: "2 2 * * SUN"
push:
permissions:
contents: read
packages: write
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
- name: "Build images"
env:
PUSH_DOCKER_HUB: false
PUSH_GHCR: false
run: |
make all
- name: "Push images"
env:
PUSH_DOCKER_HUB: true
PUSH_GHCR: true
run: |
make all
if: github.ref == 'master'