Skip to content

chore: Vitest config tweaks #877

chore: Vitest config tweaks

chore: Vitest config tweaks #877

name: Create Self Hosted Release
on:
pull_request:
branches:
- main
types: [closed]
jobs:
create-release:
name: Tag Release ${{ github.head_ref }} and Push Docker image to Docker Hub
if: ${{ github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/') && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/create-release.yml@v1.2.14
with:
tag_to_prepend: self-hosted-
secrets: inherit
push-image:
needs: [create-release]
if: ${{ github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/') && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.14
secrets: inherit
with:
push_release: true
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-frontend' }}
cache_requirements: false