Commit c49557b 1 parent 628042b commit c49557b Copy full SHA for c49557b
File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 59
59
# https://docs.docker.com/develop/develop-images/build_enhancements/
60
60
# https://docs.docker.com/engine/reference/commandline/build/#specifying-external-cache-sources
61
61
docker build . \
62
+ --quiet \
62
63
--cache-from ${{ inputs.repository }}/${{ inputs.image_name }}:latest \
63
64
--build-arg BUILDKIT_INLINE_CACHE=1 \
64
65
\
@@ -74,15 +75,19 @@ runs:
74
75
\
75
76
--label org.opencontainers.image.created=${BUILD_DATE} \
76
77
--label org.opencontainers.image.source=${GITHUB_URL} \
77
- --label org.opencontainers.image.revision=${GITHUB_SHA} \
78
- | tee
78
+ --label org.opencontainers.image.revision=${GITHUB_SHA}
79
79
80
80
echo "::endgroup::"
81
81
82
82
echo "::group::Inspecting the image ..."
83
83
docker images
84
+
85
+ echo "Labels:"
84
86
docker image inspect ${{ inputs.repository }}/${{ inputs.image_name }}:${COMMIT_TAG} | jq '.[].Config.Labels'
87
+
88
+ echo "Env variables:"
85
89
docker image inspect ${{ inputs.repository }}/${{ inputs.image_name }}:${COMMIT_TAG} | jq '.[].Config.Env'
90
+
86
91
echo "::endgroup::"
87
92
88
93
echo "::group::Pushing the Docker image to ${{ inputs.repository }} ..."
You can’t perform that action at this time.
0 commit comments