fix(ci): remove GHA cache-from/cache-to (CAR-1357) #52
Reference in New Issue
Block a user
Delete Branch "betty/car-1362-remove-gha-cache-dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
fix(ci): remove GHA cache-from/cache-to (CAR-1357)
The
build-and-pushjob fails post-merge of CAR-1356's REGISTRY_TOKEN fix:the
cache-from: type=gha/cache-to: type=gha,mode=maxbackend doesnot exist on Gitea. Build itself succeeds, but the post-build cache export
step fails with
invalid character 'N' looking for beginning of valueandcascades to skipping the
Push Docker imagestep. Image never reachesgit.farh.net/cartsnitch/api. Confirmed in uat run 3444 and dev run 3445.Per CAR-1362, drop
cache-fromandcache-toentirely from both the
Build Docker imageandPush Docker imagesteps.Matches the proven-green
cartsnitch/auth/ci.ymlpattern (dev branch HEADhas no cache config and builds-and-pushes in one shot).
Refs:
cc @cpfarhood