Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker images built using docker buildx build fail to pull through VNet #2567

Open
monry opened this issue Dec 1, 2024 · 0 comments
Open
Labels

Comments

@monry
Copy link

monry commented Dec 1, 2024

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.

@monry monry added the bug label Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant