I am creating a github action that provisions an azure container registry, a github action secret and some other resources from the terraform configuration files. in the same pipeline a have another job that builds and pushes a docker image to the acr pipeline creates in the first job. the problem is that after it finishes the first job with success it gets and unauthorization error when pushing the image. yes doesnt give an error on the login stage just in the pushing. then if i re-run the job without any changes it successes. in this case i am thinking that github actions cant accept a new secret while it is working. I know that it seems like the problem is about github actions but i just wonder if anyone faced the same problem using github_action_secret and found a way?

here is the repository: GitHub - ccseyhan/tetris-github_action

community Actions · Discussions · GitHub is probably a better place to ask