Skip to content

fix: correct permission check on attachment uploads #13

fix: correct permission check on attachment uploads

fix: correct permission check on attachment uploads #13

Workflow file for this run

name: PR Release
on:
pull_request:
jobs:
build_and_publish_branch:
name: Build and publish replication-backend package
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
platforms: linux/amd64
context: ./
push: true
tags: ghcr.io/aam-digital/replication-backend:pr-${{ github.event.number }}