reproducible-containers / buildkit-cache-dance

Save `RUN --mount=type=cache` caches on GitHub Actions ( Forked from https://github.com/overmindtech/buildkit-cache-dance )
Apache License 2.0
98 stars 25 forks source link

[v2] "post" steps are executed in a random order #1

Closed AkihiroSuda closed 9 months ago

AkihiroSuda commented 9 months ago

https://github.com/reproducible-containers/buildkit-cache-dance/actions/runs/6175782567/job/16763351153

image

Post inject var-lib-apt into docker is executed before Post Cache var-lib-apt, but Post inject var-cache-apt is executed after Post Cache var-cache-apt https://github.com/reproducible-containers/buildkit-cache-dance/blob/0db49bb2cae3910c42520dc231db6ce238aa1368/.github/workflows/test.yml#L17-L36

AkihiroSuda commented 9 months ago

Possibly relevant:

AkihiroSuda commented 9 months ago

Fixed in #4 (v2.1.0)