Hi,
I configured deployment restrictions for Bitbucket Pipelines:
- Environment name: Production
- Branches allowed to deploy to Production: master
I deploy to production by tagging the master branch with a release tag in bitbucket-pipelines.yml:
tags:
release/*:
- step:
name: Deploy
deployment: production
script:
- echo "deploy to production"
When pushing a release tag to Bitbucket I get this message:
This pipeline was paused because Production can only be deployed to from permitted branch pipelines.
What am I doing wrong here? Or is it not possible to use tags in combination with deployment restrictions?