Commits
Tim Donohue authored 63e792990f4
232 232 | # but we ONLY do an image push to DockerHub if it's NOT a PR |
233 233 | push $ ! matrix.isPr |
234 234 | # Use tags / labels provided by 'docker/metadata-action' above |
235 235 | tags $ steps.meta_build_dist.outputs.tags |
236 236 | labels $ steps.meta_build_dist.outputs.labels |
237 237 | |
238 238 | # Export the digest of Docker build locally (for non PRs only) |
239 239 | name Export digest |
240 240 | if $ ! matrix.isPr |
241 241 | run |
242 - | mkdir -p /tmp/digests/dist |
242 + | mkdir -p /tmp/digests |
243 243 | digest="${{ steps.docker_build_dist.outputs.digest }}" |
244 - | touch "/tmp/digests/dist/${digest#sha256:}" |
244 + | touch "/tmp/digests/${digest#sha256:}" |
245 245 | |
246 246 | # Upload Digest to an artifact, so that it can be used in manifest below |
247 247 | name Upload digest |
248 248 | if $ ! matrix.isPr |
249 249 | uses actions/upload-artifact@v3 |
250 250 | with |
251 251 | # NOTE: It's important that this artifact has a unique name so that two |
252 252 | # image builds don't upload digests to the same artifact. |
253 253 | name digests-dist |
254 254 | path /tmp/digests/* |