mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 06:17:27 -08:00
Use github token to publish release
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
This commit is contained in:
parent
23588fb43a
commit
15e1148251
5
.github/actions/publish_release/action.yml
vendored
5
.github/actions/publish_release/action.yml
vendored
|
@ -20,6 +20,9 @@ inputs:
|
|||
quay_io_password:
|
||||
type: string
|
||||
description: Quay.io password
|
||||
github_token:
|
||||
type: string
|
||||
description: Github Token
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
|
@ -33,6 +36,8 @@ runs:
|
|||
shell: bash
|
||||
- run: ~/go/bin/promu release .tarballs
|
||||
shell: bash
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ inputs.github_token }}
|
||||
- uses: ./.github/actions/publish_release_images
|
||||
if: inputs.docker_hub_organization != '' && inputs.docker_hub_login != ''
|
||||
with:
|
||||
|
|
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -175,6 +175,7 @@ jobs:
|
|||
docker_hub_password: ${{ secrets.docker_hub_password }}
|
||||
quay_io_login: ${{ secrets.quay_io_login }}
|
||||
quay_io_password: ${{ secrets.quay_io_password }}
|
||||
github_token: ${{ secrets.PROMBOT_GITHUB_TOKEN }}
|
||||
publish_ui_release:
|
||||
name: Publish UI on npm Registry
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue