fix(ci): simplify Push step to match auth pattern (CAR-1362) #53
Reference in New Issue
Block a user
Delete Branch "betty/car-1362-push-unknown-fix"
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): simplify Push step to match auth pattern (CAR-1362)
The Push Docker image step is failing post-merge of CAR-1362 with buildx
unknownerror after layers push successfully. The pre-existing failurewas masked by the cache export error (CAR-1362 took the cache out of the
way; the push failure became visible).
Simplify the Push step to match the proven-green
cartsnitch/auth/ci.ymlpattern: drop
file: ./Dockerfile(default isDockerfile; identicalsemantics) and
build-args: APT_CACHE_BUST=...(only used to bust aptcache in stage 1 of multi-stage build; not strictly needed for the
rebuilt image). Keep
if: github.event_name == "push"so the job isskipped on
pull_requestevents (PR CI then runs lint/typecheck/testwithout the build-and-push cost).
Diff: 4 lines removed from
.gitea/workflows/ci.ymlPush step.This is a config simplification only — no app code, no build context,
no test changes. Auth repo has been using this exact shape successfully
throughout; api should match.
Refs:
cc @cpfarhood