Comments (5)
As workaround we can add --no-cache
to build command and it will be pushed successfully for two repos
from earthly.
It looks like SAVE IMAGE knows that the image was pushed and wants to add a new tag. But it is an another user to another repository.
from earthly.
from earthly.
As one more workaround, add just after FROM
ARG --required DOCKER_USER
RUN echo $DOCKER_USER > user.txt
In the result all layers below will be with another hashes, and both users will be pushed. At least all other caches will work, rather than --no-cache
workaround.
from earthly.
Thanks for reporting the issue @rougsig.
I happened to encounter it myself just now :)
from earthly.
Related Issues (20)
- `earthly secret ls -l`: long listing format for secrets which would include org and project columns
- Remote cache harbor support HOT 1
- Regression: COPY --if-exists + wildcard is broken in v0.8 HOT 2
- Earthly cloud questions HOT 2
- autoskip - targets which should be rerun are skipped as cached HOT 1
- Self-hosted satellite questions HOT 4
- Quickly check if build would be cached
- `POSTBUILD` commands (or signing images with `cosign`)
- exporting outputs progress bar doesn't work (jumps from 0 to 100 without any in between steps)
- `WITH DOCKER --load +target` image name inference is not documented HOT 1
- update explicit-cache with note saying attributes are now supported HOT 1
- EARTHLY_PUSH is always false when set in the base target HOT 8
- Single quotes sometimes break lexing in some 0.8.x versions HOT 2
- insecure-registries not work, still pull image use https in build stage HOT 9
- Rust Build fails hard when Cargo.toml inherits from workspace config HOT 4
- buildkit_additional_config not working HOT 1
- ======== OOM Adjust script ==========
- cannot reference target in another directory when directory is defined in `LET` or `ENV`
- permanent cache mounts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from earthly.