mirror of
https://github.com/apricote/releaser-pleaser.git
synced 2026-01-13 21:21:03 +00:00
The current value caused the following error when running the action in
a different repository:
Error: 'ghcr.io/apricote/releaser-pleaser:v0.4.1' should be either '[path]/Dockerfile' or 'docker://image[:tag]'.
Not sure why this did not come up before, as we are also using the same
format for the CI in this repository, even if we use another tag.
32 lines
984 B
YAML
32 lines
984 B
YAML
name: 'releaser-pleaser'
|
|
description: 'automated releases based on conventional commits'
|
|
author: Julian Tölle
|
|
branding:
|
|
icon: 'package'
|
|
color: 'red'
|
|
inputs:
|
|
# Remember to update docs/reference/github-action.md
|
|
branch:
|
|
default: main
|
|
description: "This branch is used as the target for releases."
|
|
token:
|
|
description: 'GitHub token for creating and updating release PRs, defaults to using secrets.GITHUB_TOKEN'
|
|
required: false
|
|
default: ${{ github.token }}
|
|
extra-files:
|
|
description: 'List of files that are scanned for version references.'
|
|
required: false
|
|
default: ""
|
|
# Remember to update docs/reference/github-action.md
|
|
outputs: {}
|
|
runs:
|
|
using: 'docker'
|
|
image: docker://ghcr.io/apricote/releaser-pleaser:v0.4.1 # x-releaser-pleaser-version
|
|
args:
|
|
- run
|
|
- --forge=github
|
|
- --branch=${{ inputs.branch }}
|
|
- --extra-files="${{ inputs.extra-files }}"
|
|
env:
|
|
GITHUB_TOKEN: "${{ inputs.token }}"
|
|
GITHUB_USER: "oauth2"
|