Skip to content

Conversation

@PascalEgn
Copy link

- name: Tag and push images
shell: bash
run: |
TAG="${{ inputs.tag }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not my favorite to review bash scripts 🙃

  1. I would move it to a separate file
  2. the ^(.+):.*$ is greedy, but I guess we will not have corner cases with ports before tags, i.e. something:5000:latest

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Whats the difference? 😅 Kinda makes it less readable to open another file
  2. Yes it is, but i also dont think it matters. I tested the code with and image digest image (e.g something@sha256:c462ccc) and with a normal tag (e.g. something:v1) and both work 👍

Copy link
Contributor

@drjova drjova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PascalEgn thank you added few comments, otherwise for me it's ok

@PascalEgn PascalEgn force-pushed the 1032-add-image-tag-action branch 2 times, most recently from 8f7e9ec to d7ce61a Compare August 18, 2025 12:51
@PascalEgn PascalEgn force-pushed the 1032-add-image-tag-action branch from d7ce61a to 6238bc6 Compare August 18, 2025 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants