Files
action-release/action.yml
T
Armen Zambrano G 843e82b6a9 feat: Publish Docker image to Github Registry instead of Docker Hub (#92)
The overall changes in here are:

- Upload a [Docker image](https://github.com/orgs/getsentry/packages/container/package/action-release-image) to Github's registry
- Make this action use the Github registry image instead of the Docker Hub one

Fixes API-2791
2022-07-18 13:26:44 -04:00

48 lines
2.0 KiB
YAML

name: 'Sentry Release'
description: 'GitHub Action for creating a release on Sentry'
author: 'Sentry'
inputs:
environment:
description: 'Set the environment for this release. E.g. "production" or "staging". Omit to skip adding deploy to release.'
required: false
sourcemaps:
description: 'Space-separated list of paths to JavaScript sourcemaps. Omit to skip uploading sourcemaps.'
required: false
finalize:
description: 'When false, omit marking the release as finalized and released.'
default: true
ignore_missing:
description: 'When the flag is set and the previous release commit was not found in the repository, will create a release with the default commits count instead of failing the command.'
required: false
ignore_empty:
description: 'When the flag is set, command will not fail and just exit silently if no new commits for a given release have been found.'
required: false
started_at:
description: 'Unix timestamp of the release start date. Omit for current time.'
required: false
version:
description: 'Identifier that uniquely identifies the releases. Omit to auto-generate one.'
required: false
version_prefix:
description: 'Value prepended to auto-generated version.'
required: false
set_commits:
description: 'Specify whether to set commits for the release. Either "auto" or "skip".'
required: false
projects:
description: 'Space-separated list of projects. Defaults to the env variable "SENTRY_PROJECT" if not provided.'
required: false
url_prefix:
description: 'Adds a prefix to source map urls after stripping them.'
required: false
strip_common_prefix:
description: 'Will remove a common prefix from uploaded filenames. Useful for removing a path that is build-machine-specific.'
required: false
runs:
using: 'docker'
# If you change this, update the use-local-dockerfile action
image: 'docker://ghcr.io/getsentry/action-release-image:latest'
branding:
icon: 'triangle'
color: 'purple'