News for hackers. Stuff that matters.
Re:The worst thing about Jenkins is that it works by codethief on Tuesday December 05, 2023 @01:20AM (#38527692)
My apologies, I misspoke: I wanted the image tag not to be $CI_COMMIT_SHA but to be a hash dynamically generated from certain files in the repo. The issue is that IMAGE won't accept a dynamically generated environment variable (passed from job to job via a dotenv artifact).
Re:The worst thing about Jenkins is that it works by nijave on Thursday December 07, 2023 @05:15PM (#38562570)
I think you could just jam anything you need in pipeline yaml from the dotenv file into outputs/variables then do something like this https://stackoverflow.com/a/71575683/2751619
Re:The worst thing about Jenkins is that it works by codethief on Friday December 08, 2023 @06:21AM (#38567697)
No, this doesn't work. Also note that the StackOverflow link is about Github Actions, not Gitlab CI.