You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mridul Pathak (Jira)" <ji...@apache.org> on 2026/10/06 13:23:00 UTC

[jira] [Closed] (OFBIZ-13646) Grant the packages write permission of the docker image workflow to its job and not to the whole workflow

     [ https://issues.apache.org/jira/browse/OFBIZ-13646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mridul Pathak closed OFBIZ-13646.
---------------------------------
    Fix Version/s: Upcoming Branch
                   24.09.08
       Resolution: Fixed

> Grant the packages write permission of the docker image workflow to its job and not to the whole workflow
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-13646
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13646
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: Docker
>    Affects Versions: Upcoming Branch, 24.09.07
>            Reporter: Mridul Pathak
>            Assignee: Mridul Pathak
>            Priority: Minor
>             Fix For: Upcoming Branch, 24.09.08
>
>
> The workflow that builds and pushes the docker images declares the packages: write permission at the top level, so that it applies to the whole workflow, while only the one job that pushes the images to the container registry needs it. Permissions that a job needs should be granted to that job.
> h3. Plan
> * Keep contents: read at the top level of the workflow, and declare contents: read and packages: write on the docker_build job.
> * Do the same on release24.09.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)