Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check validity of an image tag #143

Merged
merged 1 commit into from
Jun 19, 2022
Merged

Check validity of an image tag #143

merged 1 commit into from
Jun 19, 2022

Conversation

FelicianoTech
Copy link
Owner

@FelicianoTech FelicianoTech commented Jun 19, 2022

Fixes #140

Turns out that the reported issue was not exactly correct. The latest tag was correct, but that tag doesn't exists. This PR now adds the ability for an image to check if its valid and we now use this result to return an error message.

@codecov
Copy link

codecov bot commented Jun 19, 2022

Codecov Report

Merging #143 (f5fb77f) into trunk (8bb10da) will decrease coverage by 0.56%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##            trunk    #143      +/-   ##
=========================================
- Coverage   10.31%   9.74%   -0.57%     
=========================================
  Files           5       5              
  Lines         223     236      +13     
=========================================
  Hits           23      23              
- Misses        199     212      +13     
  Partials        1       1              
Impacted Files Coverage Δ
sonar/docker/image.go 28.39% <0.00%> (-5.43%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8bb10da...f5fb77f. Read the comment docs.

@FelicianoTech FelicianoTech merged commit ed1b539 into trunk Jun 19, 2022
@FelicianoTech FelicianoTech deleted the layers-no-tag branch June 19, 2022 06:20
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.

Listing layers without specifying a tag provides a stacktrace
1 participant