Build fails with 'ERROR: Job failed: exit code 1'
The image no longer builds and pushes successfully to the registry.
In the log the following passage appears to indicate the fault.
$ docker push "$CI_REGISTRY_IMAGE"
The push refers to repository [registry.gitlab.paheld.de/pascal/latex-docker-image]
bf9b9fa97597: Preparing
e3f948351a0c: Preparing
fe490db648a5: Preparing
24ce6e61cf1c: Preparing
e3f948351a0c: Pushed
bf9b9fa97597: Pushed
24ce6e61cf1c: Pushed
unauthorized: authentication required
Cleaning up file based variables
ERROR: Job failed: exit code 1
-
Update the CI/CD config to follow the new standard more closely. For reference: https://gitlab.paheld.de/pascal/docker-registry-test/-/blob/master/.gitlab-ci.yml -
Fix the underlying issue
Edited by Pascal Held