question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature: Add 'tag' input to allow creating tags based on upstream versions

See original GitHub issue

I maintain several repositories where the docker repo is separate from the application repo. I wrote an action a while back HackerHappyHour/tagging-strategy that had a lot of the same intentions of this action, and I’d like to archive it in favor of this action.

The only feature my action has that isn’t yet implemented here is the ability to (optionally) supply a tag value, instead of getting the tag from the repository.

This allows upstream repo’s to dispatch on tagging/releases, and and for the docker repo to build/publish tags when that happens.

Example where we do this: github.com/OctoPrint/Octoprint triggers github.com/OctoPrint/octoprint-docker.

This goes especially well with #15, which was the other feature missing from this action, but seems like @hugopeixoto beat me to it!

I’d be willing to contribute this feature, just need approved suggestion on the input name. I’m thinking:

inputs:
  # other inputs
  input_tag:
    description: 'if provided will use the supplied value. Not compatible with all inputs (see README.md for compatibility)'
    required: false

Then for docs adding a 4th column in the inputs table in the README, specifying if compatible with input_tag, along with notes like

using input_tag is for scenarios when using external events to trigger builds is required such as repository_dispatch or workflow_dispatch

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
crazy-maxcommented, Nov 25, 2020

@LongLiveCHIEF

well yeah, that’s why i’m doing what I’m doing. 😃

Oh ok that’s a limitation of your action, got it!

1reaction
crazy-maxcommented, Nov 25, 2020

@LongLiveCHIEF Sorry didn’t see the end of your post ahah

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature Request: Add tag after bumpVersion and automerge ...
An alternative solution that works for me now is to manually run npm version patch , create/merge a PR, and npm push upstream...
Read more >
How can I add or remove a tag with ng-tags-input within a ...
Set the addFromAutocompleteOnly option to true , so only tags coming from the autocomplete list will be allowed. HTML <tags-input ng-model=" ...
Read more >
git-tag Documentation - Git
Tag objects (created with -a , -s , or -u ) are called "annotated" tags; they contain a creation date, the tagger name...
Read more >
Using tags on Lambda functions - AWS Documentation
Expand Advanced settings, and then select Enable tags. Choose Add new tag, and then enter a Key and an optional Value. To add...
Read more >
react-tag-input - npm
React tags is a fantastically simple tagging component for your React projects. Latest version: 6.8.1, last published: 4 months ago.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found