load sometimes doesn't load
See original GitHub issueBehaviour
Trying to run a command with a just built image sometimes fails to find the image:
$ docker run --rm -t -v "${GITHUB_WORKSPACE}:/src/android/apolloui/build/outputs/" muun_android:latest
Unable to find image 'muun_android:latest' locally
docker: Error response from daemon: pull access denied for muun_android, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
The build step runs ok and has no notable differences in output between correct and failed runs.
Expected behaviour
The muun_android
image to be found and run. In https://github.com/muun/apollo/runs/2203961523?check_suite_focus=true it succeded (see the Inspect step cause the build failed due to something unrelated)
Configuration
- Repository URL (if public): https://github.com/muun/apollo
- Build URL (if public): https://github.com/muun/apollo/runs/2204358021?check_suite_focus=true
name: pr
on: pull_request
jobs:
pr:
runs-on: ubuntu-20.04
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@154c24e1f33dbb5865a021c99f1318cfebf27b32
with:
buildkitd-flags: --debug
- name: Checkout
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Build
uses: docker/build-push-action@9379083e426e2e84abb80c8c091f5cdeb7d3fd7a
with:
load: true
tags: muun_android:latest
file: android/Dockerfile
context: .
- name: Inspect
run: |
docker images
- name: Build apollo
run: |
docker run --rm -t -v "${GITHUB_WORKSPACE}:/src/android/apolloui/build/outputs/" muun_android:latest
- name: Upload APK
uses: actions/upload-artifact@e448a9b857ee2131e752b06002bf0e093c65e571
with:
name: apk
path: apk/prod/release/apolloui-prod-release-unsigned.apk
Logs
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:10 (3 by maintainers)
Top Results From Across the Web
What to Do When a Website Won't Load
What to Do When a Website Won't Load · Check Your Connection (and Other Sites) · See if the Problem Is on Your...
Read more >How to Fix Web Pages That Won't Load
How to Fix Web Pages That Won't Load · Restart a Microsoft Windows PC · Restart a Mac · Disable or Remove Extensions...
Read more >Websites show a spinning wheel and never finish loading
Sometimes a website will start to load, but never finish. This article covers possible solutions.
Read more >Some Websites Not Loading - Here's How To Fix It
Here, we highlight some reasons why some websites do not load properly. ... If that doesn't work, you can try flushing your DNS...
Read more >How to Troubleshoot Web Pages That Won't Load
If the site doesn't load, make sure your device isn't in Airplane Mode. On Smartphones, tablets, and many Windows desktop and laptop computers, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@benhjames
These are the subsequent instructions cached by buildx for the current builder. You can get more info by using
docker buildx du --verbose
. If you use an external cache, only the last stage will be cached, so it takes less space and the image can be loaded.You could use a self-hosted runner but in the near future you will be able to configure CPU cores, RAM, disk space for the runner (see github/roadmap#161).
Or more drastic, remove some components pre-installed on the runner in your workflow like dotnet (~23GB):
❤️ Thanks for the deep look into this! I ended up changing the build approach for other reasons which I guess accidentaly reduced the image size, making the issue disappear.