Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

If no image tag set use image content-digest #703

Merged
merged 1 commit into from
Oct 23, 2019

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Oct 21, 2019

- What I did
Support running a docker app build without service image tags
https://docker.atlassian.net/browse/APP-271

- How I did it
Use the content-digest of the image, which docker engine can resolve if already pulled

- How to verify it
Use a compose file without explicit image tag
docker app build && docker app run

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

image

This also make the compose spec compliant with docker stack deploy,
which require service.image attribute set

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@codecov
Copy link

codecov bot commented Oct 21, 2019

Codecov Report

Merging #703 into master will decrease coverage by 0.82%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #703      +/-   ##
==========================================
- Coverage   72.11%   71.29%   -0.83%     
==========================================
  Files          59       59              
  Lines        3016     2947      -69     
==========================================
- Hits         2175     2101      -74     
- Misses        560      570      +10     
+ Partials      281      276       -5
Impacted Files Coverage Δ
render/render.go 79.34% <0%> (-1.77%) ⬇️
internal/cnab/cnab.go 64.61% <0%> (-16.58%) ⬇️
internal/commands/run.go 65.71% <0%> (-7.62%) ⬇️
types/parameters/parameters.go 92.06% <0%> (-4.77%) ⬇️

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 0c6905a...65875cf. Read the comment docs.

Copy link
Contributor

@silvin-lubecki silvin-lubecki left a comment

Choose a reason for hiding this comment

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

LGTM

@silvin-lubecki silvin-lubecki merged commit 331f68a into docker:master Oct 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants