[Vuejs]-How to include a git tag in my frontend build when using `skaffold build` in a bitbucket pipeline?

0👍

If you use tag pipelines, you can use the BITBUCKET_TAG environment variable:

pipelines:
  tags:
    '**':
      - step: &build
          script:
            - # ...
            - export IMAGE_TAG=$BITBUCKET_TAG
            - skaffold build

https://support.atlassian.com/bitbucket-cloud/docs/pipeline-start-conditions/#Tags

Leave a comment