Update package.json (#61) #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
push: | |
tags: | |
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 | |
jobs: | |
release-package: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install Sentry CLI | |
run: curl -sL https://sentry.io/get-cli/ | bash | |
- name: Create a release | |
run: | | |
export VERSION=mira-video-manager@$(git describe --tags) | |
sentry-cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} releases -o ${{ secrets.SENTRY_ORG }} -p ${{ secrets.SENTRY_PROJECT }} new $VERSION | |
sentry-cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} releases -o ${{ secrets.SENTRY_ORG }} -p ${{ secrets.SENTRY_PROJECT }} set-commits --auto $VERSION | |
- uses: pmorelli92/[email protected] | |
name: Build and Publish latest service image | |
with: | |
github-push-secret: ${{ secrets.GITHUB_TOKEN }} | |
docker-image-name: mira-video-manager | |
docker-image-tag: ${{ github.ref_name }} # optional | |
# dockerfile-path: ./src/svc/Dockerfile # optional | |
# build-context: ./src/svc # optional | |
- name: Finalize release | |
run: | | |
export VERSION=mira-video-manager@$(git describe --tags) | |
sentry-cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} releases -o ${{ secrets.SENTRY_ORG }} -p ${{ secrets.SENTRY_PROJECT }} finalize $VERSION |