Skip to content

RELEASE-IMAGE

RELEASE-IMAGE #2

Workflow file for this run

name: RELEASE-IMAGE
on:
workflow_dispatch:
inputs:
image_tag:
description: 'The tag name of image'
required: true
default: ''
release:
types:
- published
env:
RELEASE_VERSION: ${{ github.ref_name }}
jobs:
image-tag:
runs-on: ubuntu-latest
outputs:
tag-name: ${{ steps.get_tag_name.outputs.tag_name }}
steps:
- name: Get Tag Name
id: get_tag_name
run: |
TAG_NAME=${{ inputs.image_tag }}
if [ -z "$TAG_NAME" ]; then
TAG_NAME=${{ env.RELEASE_VERSION }}
fi
echo tag_name=$TAG_NAME >> $GITHUB_OUTPUT
release-image:

Check failure on line 33 in .github/workflows/release-image.yml

View workflow run for this annotation

GitHub Actions / RELEASE-IMAGE

Invalid workflow file

The workflow is not valid. .github/workflows/release-image.yml (Line: 33, Col: 3): Error calling workflow 'apecloud/apecloud-cd/.github/workflows/[email protected]'. The nested job 'release-image' is requesting 'id-token: write', but is only allowed 'id-token: none'.
needs: image-tag
uses: apecloud/apecloud-cd/.github/workflows/[email protected]
with:
MAKE_OPS: "docker-buildx"
IMG: "apecloud/go-ycsb"
VERSION: "${{ needs.image-tag.outputs.tag-name }}"
GO_VERSION: "1.20"
SYNC_ENABLE: false
APECD_REF: "v0.1.11"
secrets: inherit