Comments (6)
What's the error you're seeing?
from docker-login.
Error was completely unrelated:
You can see the full pipeline and the run here: https://github.com/ItalyPaleAle/Statiko/runs/445077709?check_suite_focus=true
from docker-login.
Based on the documentation provided by docker
here buildx
is an experimental feature, in order to enable it you need to explicitly add experimental
flag to the config.json
file. When you use docker-login
action, it ends up creating a new config.json
file and overrides the DOCKER_CONFIG
variable.
This explains why your action run was failing because docker cli wasn't able to recognize buildx
cause experimental
flag was unset in the config.
As a mitigation I suggest you use docker-login just before your push command if your build isn't trying to use the login credentials anywhere.
from docker-login.
Thanks, will try.
Is there a way maybe to add an "enableExperimental" flag to this action?
from docker-login.
Not right now.
from docker-login.
While I was digging more into this I figured a few things. These flags you set are going to be in a new file called daemon.json
under the docker config's folder.
This action:
- Creates a new folder
- Adds the generated config.json file to that folder
- Sets/Overrides a DOCKER_CONFIG environment variable to the newly created folder.
So, you can add an additional action in your workflow explicitly to create a daemon.json
file under the $DOCKER_CONFIG
folder, and set all the flags you need for your workflows in that file.
Here's all the flags you can set: https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file
from docker-login.
Related Issues (20)
- docker: command not found HOT 1
- How to deal with registries that can't be opened to public internet HOT 1
- AZURE_WEBAPP_PUBLISH_PROFILE
- Remove the admin account requirement for Docker login action
- GITHUB_TOKEN permissions used by this action HOT 1
- --build-arg vanishing during build? HOT 1
- Compose build and push to container registry causes crashing of Azure container apps HOT 1
- Node 12 is deprecated, move to node 16 HOT 4
- Invalid clientid or client secret HOT 2
- Can not use the new docker/login version v1.0.1 HOT 19
- Upgrade deprecated node.js from 12 to 16 broke docker-login/v1 HOT 5
- 到底什么是嵌入式?什么是单片机?究竟有何区别?
- Login to ACR apparently successful but subsequent dotnet publish fails HOT 2
- Allow login using service credentials dirctly HOT 1
- Multiple login with GCR and ACR HOT 2
- Add support to authenticate using "Azure federated credentials" HOT 3
- Reporting a vulnerability HOT 1
- Node 16 is deprecated, move to node 20 HOT 3
- Failure to restart docker compose instance / check image and resgistry credintial, inaccessible image HOT 1
- Is this project still maintained? HOT 5
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 docker-login.