Skip to content

Commit

Permalink
exit-code
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrehagen committed Oct 24, 2023
1 parent 146b1d6 commit 832a31e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.build-exit-code
.dotfiles-cachebust
3 changes: 3 additions & 0 deletions docker/scripts/build-dotfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ DOTFILES_CACHEBUST=$(date +%s > $REPO_ROOT/.dotfiles-cachebust)

# Rebuild the desktop environment
$REPO_ROOT/docker/scripts/build.sh

# Store build exit code
echo $? > $REPO_ROOT/.build-exit-code
3 changes: 3 additions & 0 deletions docker/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ docker build \
--tag $DESKTOP_ENVIRONMENT_REGISTRY/$DESKTOP_ENVIRONMENT_CONTAINER_IMAGE:$DESKTOP_ENVIRONMENT_CONTAINER_TAG \
--tag $DESKTOP_ENVIRONMENT_REGISTRY/$DESKTOP_ENVIRONMENT_CONTAINER_IMAGE:latest \
$REPO_ROOT/docker

# Store build exit code
echo $? > $REPO_ROOT/.build-exit-code

0 comments on commit 832a31e

Please sign in to comment.