parent
fb3853c72d
commit
b6f3fbf711
2 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
nix build
|
||||
|
||||
if [[ $BRANCH == "main" && -f $SECRET_PATH ]]; then
|
||||
mkdir -p /kaniko/.docker ; cp $SECRET_PATH /kaniko/docker/.config.json
|
||||
mkdir -p /kaniko/.docker
|
||||
cp $SECRET_PATH /kaniko/.docker/.config.json
|
||||
export HOME=/kaniko
|
||||
nix develop --command sh -c "executor --force --destination dxflrs/albatros:${COMMIT} --context dir://`pwd` --verbosity=debug"
|
||||
fi
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"ref": "refs/heads/main",
|
||||
"after": "71cf9a125e125456533242a9beb1b234ce1d3e54",
|
||||
"after": "fb3853c72d8f6046d5b250da0f850df433b1ed47",
|
||||
"repository": {
|
||||
"owner": {
|
||||
"username": "quentin"
|
||||
|
|
Loading…
Reference in a new issue