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