dotnet publish: AfterTargets="AfterPublish" triggers before publish is complete
Open
Area-NetSDK
- Dominant language
- C#
- Stars
- 3.2k
- Forks
- 1.3k
- PR merge metrics
- PR metrics pending
Description
Hello we have a project like many others publishing docker images to kubernetes.
To try to make developers life easier I added the following to my pubxml:
```
...snip...
```
However, I notice the RestartPods target occurs before the image is fully published to my ACR, resulting in a race condition that sometimes Kubernetes beats, meaning the old image is deployed instead of the new...
What should my AfterTargets be set to if I want it to only run the rollout commands after the container is fully published to ACR?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.