Comments (4)
config-inline: |
[registries.insecure]
"git.fritz.box" = true
BuildKit config does not look correct, see https://docs.docker.com/build/buildkit/configure/#setting-registry-certificates and https://docs.docker.com/build/buildkit/toml-configuration/ for more info.
from build-push-action.
I have change my action to:
steps:
- name: Checkout
uses: https://github.com/actions/checkout@v4
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3
with:
driver-opts: network=host
config-inline: |
debug = true
[registry."git.fritz.box"]
ca=["/etc/ssl/certs/rootCA.pem"]
And my act_runner config to:
container:
# Specifies the network to which the container will connect.
# Could be host, bridge or the name of a custom network.
# If it's empty, act_runner will create a network automatically.
network: ""
# Whether to use privileged mode or not when launching task containers (privileged mode is required for Docker-in-Docker).
privileged: false
# And other options to be used when the container is started (eg, --add-host=my.gitea.url:host-gateway).
options: --mount type=bind,source=/etc/ssl/certs/,target=/etc/ssl/certs/,readonly --mount type=bind,source=/home/rar/gittea.crt,target=/etc/my_certs/gittea.crt,readonly --mount type=bind,source=/home/rar/gittea.key,target=/etc/my_certs/gittea.key,readonly
valid_volumes:
- '**'
I think I've made a little progress but i get this 401 error:
failed with: ERROR: failed to solve: failed to push git.fritz.box/frontend:latest: unexpected status from HEAD request to https://git.fritz.box/v2/frontend/blobs/sha256:18fbd407def3017149f5c4ed3ec8777724268e7bcfbd376021df40e27d5be4e1: 401 Unauthorized
from build-push-action.
I realised that the current error has more to do with the login.
I try to add:
- name: Login to Registry
uses: https://github.com/docker/login-action@v3
with:
registry: git.fritz.box
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
But I get this:
::error::Unable to locate executable file: docker. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
Can't trace this because he also uses the docker
to build.
from build-push-action.
Related Issues (20)
- secrets are visibible in the debug messages HOT 1
- bug parsing build args HOT 5
- Transitive errors are not catched and retried, like HTTP 504 Gateway Timeout from a container registry HOT 3
- context should observe working-directory defined on defaults HOT 5
- Docker file created is different than Docker file created at own terminal HOT 1
- Merge Multi-Platform Image w/ Imagetools Create: Pull Access Denied HOT 3
- Provenance ignored when set to false If Buildx version is not provided HOT 10
- Allow grouping output for the `docker buildx build` step after `Buildx version` step HOT 2
- Docker: Cannot create container for service: No command specified HOT 1
- Build/Push fails if the tag name matches an existing tag in the registry HOT 5
- The sha256 of registry cache config are mismatched for rerun multi-stage config. HOT 1
- buildx failed with: ERROR: invalid key-value pair "": empty key HOT 2
- Tarball output throws `ResourceExhausted` error HOT 4
- GIT context ignores changes in build secrets and use GHA build cache from other build HOT 8
- When using a matrix for multi-platform builds images get erased HOT 2
- Docker Hub login succeeds but push does not HOT 1
- Local cache remains empty despite cache-to and cache-from configuration HOT 4
- Support push and load being set together HOT 5
- header key "followpaths" contains value with non-printable ASCII characters HOT 9
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 build-push-action.