Closed CodeVachon closed 1 year ago
Update that This evening this issue appears to have resolved itself. likely an update that Github themselves made.
It would would still be nice to have a more verbose error message when something does wrong however.
Hello, last evening I found that this task in a job has started throwing an unknown error.
This occurs when the
addLatest: true
variable is set. When the value is not set, the task runs cleanly.the
latest
image is built and deployed to the registry as expected, but reference tags are not.Job Config
Debug Log
Expected
expected to find 1 image with 2 tags in the registry.
ghcr.io/***/anzen-api:latest
ghcr.io/***/anzen-api:1.3.3
<-- tag nameActual
only the
latest
tag is received on the registryghcr.io/***/anzen-api:latest
my best guess would be that Actions has changed how git tag references resulting in
${{ github.ref }}
being undefined, and that docker is throwing an error trying to set an empty tag as a result.