Compare commits

...

3 commits

Author SHA1 Message Date
Quentin fb80c5d673
check tag management
All checks were successful
Albatros default
2023-05-23 10:27:26 +02:00
Quentin f372f5b0eb
remove docker auth from .albatros 2023-05-23 10:18:41 +02:00
Quentin 9777f6ec51
add ssl certs in the docker container 2023-05-23 10:17:14 +02:00
3 changed files with 6 additions and 3 deletions

View file

@ -4,7 +4,7 @@ set -euxo pipefail
nix run .#build-static nix run .#build-static
nix run .#build-container nix run .#build-container
if [[ ! -z $TAG && ! -z $DOCKER_AUTH ]]; then if [[ ! -z $TAG ]]; then
# Configure Docker Auth # Configure Docker Auth
mkdir .docker mkdir .docker
cat > .docker/config.json <<EOF cat > .docker/config.json <<EOF

View file

@ -194,7 +194,7 @@ of code quality, abstraction or anything else.
- [X] Read Nomad+Consul config from environment variables - [X] Read Nomad+Consul config from environment variables
- [X] Inject secrets only when the sender is trusted - [X] Inject secrets only when the sender is trusted
- [ ] Test PR behavior - [ ] Test PR behavior
- [ ] Handle tags - [X] Handle tags
### Ideas ### Ideas

View file

@ -105,7 +105,10 @@
name = "dxflrs/albatros-ci"; name = "dxflrs/albatros-ci";
architecture = (builtins.getAttr targetHost archmap).GOARCH; architecture = (builtins.getAttr targetHost archmap).GOARCH;
config = { config = {
Cmd = [ "${ci}" ]; Cmd = [ "${ci}" ];
Env = [
"SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
];
}; };
}; };