Description
Images built and pushed to the Container Registry using docker buildx build --push
in GitHub Actions will fail to pull from the Functions App with the Pull image over VNet
setting enabled.
Images built with docker build
and pushed with docker push
can be pulled via VNet without any problems.
The following error is logged in the Deployment Center log.
2024-12-01T16:11:18.466Z INFO - Attempting to pull image crdijpw20241201.azurecr.io/crdijpw20241201/demo:20241201155149-buildx from VNET.
2024-12-01T16:11:19.310Z ERROR - Image pull for crdijpw20241201.azurecr.io/crdijpw20241201/demo:20241201155149-buildx failed. UnexpectedFaliure
2024-12-01T16:11:19.317Z ERROR - Pulling docker image crdijpw20241201.azurecr.io/crdijpw20241201/demo:20241201155149-buildx over VNET failed.
2024-12-01T16:11:19.322Z WARN - Image pull failed. Defaulting to local copy if present.
2024-12-01T16:11:19.328Z ERROR - Image pull failed: Verify docker image configuration and credentials (if using private repository)
The project used for verification is a simple one based on the one generated by func init --docker
, modified to show the date and time the image was built.
The verification project and deployment workflow are available in this repository.
Of the workflows included in this repository, pulls via VNet succeed only when deployed by running build-with-plain-commands.yml; build-with-buildx.yml and build-with-marketplace-actions.yml fail.