-
Notifications
You must be signed in to change notification settings - Fork 324
Open
Description
I hope to build using the formatted $DRONE_BUILD_CREATED in tag, such as 20060102-1504-linux-amd64
But it seems that it cannot expaned correctly, and it failed on tag rename
settings:
tag: $(date +'%Y%m%d-%H%M' -d @${DRONE_BUILD_CREATED})-linux-arm64Error parsing reference: "git.******.com/******/******:$(date +'%Y%m%d-%H%M' -d @1753065997)-linux-arm64" is not a valid repository/
Or
settings:
tag: "{{ date \"20060102-1504\" ${DRONE_BUILD_CREATED} }}-linux-arm64"Error parsing reference: "git.******.com/******/******:{{ date \"20060102-1504\" 1753066782 }}-linux-arm64" is not a valid repository/tag: invalid reference format
Is there any way to implement it via pipeline yaml config or add support in this plugin?
Metadata
Metadata
Assignees
Labels
No labels