Pipe skipped after Downloaded newer image for staticwebapps.azurecr.io/bitbucket-deploy:stable
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Since Feb 27th 2024, 5 pm PST, the pipe skipped all steps after `Status: Downloaded newer image for staticwebapps.azurecr.io/bitbucket-deploy:stable` in Bitbucket. Also see in docker log `level=error msg="Handler for POST /v1.41/containers/create returned error: No such image: [staticwebapps.azurecr.io/bitbucket-deploy:stable](http://staticwebapps.azurecr.io/bitbucket-deploy:stable)"
`
Please also refer to previous issue: https://github.com/Azure/static-web-apps/issues/1366
To Reproduce
Steps to reproduce the behavior:
Create a bitbucket-pipelines.yml to deploy the static web app using Bitbucket pipeline
image: node:18
definitions:
steps:
- step: &Deploy
name: Deploy Azure Static Web App
script:
- chown -R 165536:165536 $BITBUCKET_CLONE_DIR
- pipe: microsoft/azure-static-web-apps-deploy:main
variables:
APP_LOCATION: "$BITBUCKET_CLONE_DIR"
API_TOKEN: $AZURE_STATIC_WEBAPP_TOKEN
SKIP_API_BUILD: "true"
OUTPUT_LOCATION: "$BITBUCKET_CLONE_DIR/dist"
VERBOSE: "true"
pipelines:
branches:
dev:
- step:
<<: *Deploy
name: Deploy to Staging
deployment: Staging
main:
- step:
name: Prepare for Production deployment
script:
- echo "Preparing for Production Deployment"
- step:
<<: *Deploy
name: Deploy to Production
deployment: Production
trigger: manual
Push the code to dev branch and let the pipeline run.
Expected behavior:
The pipeline should return deployment id, build the app with Oryx, then deploy the app.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.