diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml new file mode 100644 index 0000000..a2baa4a --- /dev/null +++ b/.github/workflows/build-docker-image.yml @@ -0,0 +1,11 @@ +name: Build Docker image + +on: + push: + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: docker build . diff --git a/setup.sh b/setup.sh index ee821c6..a74120c 100755 --- a/setup.sh +++ b/setup.sh @@ -3,10 +3,10 @@ set -e DOTFILES_DIR="$HOME/.dotfiles" +ANSIBLE_PATH="$HOME/.local/bin" PLAYBOOK_PATH="$DOTFILES_DIR/ansible/playbook.yml" sudo pacman -S --needed --noconfirm git python-pipx -export PATH="$PATH:~/.local/bin" pipx install --include-deps ansible if [ ! -d $DOTFILES_DIR ] @@ -16,7 +16,7 @@ fi if [ -f $PLAYBOOK_PATH ] then - ansible-playbook $PLAYBOOK_PATH + $ANSIBLE_PATH/ansible-playbook $PLAYBOOK_PATH else echo Ansible playbook not found at $PLAYBOOK_PATH exit 1