1 parent 264db85 commit 632d825Copy full SHA for 632d825
1 file changed
.github/workflows/dotbot.yml
@@ -18,15 +18,16 @@ jobs:
18
- name: Checkout repository
19
uses: actions/checkout@v4
20
21
- - name: Set up Python
22
- uses: actions/setup-python@v5
23
- with:
24
- python-version: '3.12'
+ # preparing environment for docker build
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v2
+ - name: Set up Docker Buildx
25
+ uses: docker/setup-buildx-action@v2
26
- - name: Install Dotbot
27
+ - name: Build base Docker image
28
run: |
- python3 -m pip install pyyaml dotbot
29
+ docker build -t pirafrank/dotbot:latest -f dotbot/dotbot.dockerfile dotbot/
30
- - name: Test Dotbot configuration
31
+ - name: Build dotfiles Docker image
32
- dotbot -c install.conf.yaml -d $(pwd)
33
+ docker build -t dotfiles-test -f dotbot/Dockerfile .
0 commit comments