Skip to content

Commit dc0ec2b

Browse files
author
Paul Belt
committed
feat: integrate docker build into CI pipeline
... for linting purposes
1 parent 0b0e871 commit dc0ec2b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,21 @@ jobs:
150150
run: cargo +${{ matrix.rust }} install --target ${{ matrix.target }} --no-default-features --features max-pure --target-dir install-artifacts --debug --force gitoxide
151151
shell: msys2 {0}
152152

153+
docker:
154+
runs-on: ubuntu-latest
155+
steps:
156+
- uses: actions/checkout@v4
157+
- name: Set up Docker Buildx
158+
uses: docker/setup-buildx-action@v3
159+
- name: Build Docker image
160+
uses: docker/build-push-action@v5
161+
with:
162+
context: .
163+
file: ./etc/docker/Dockerfile.alpine
164+
platforms: linux/amd64,linux/arm64
165+
push: false
166+
tags: paulbelt/gitoxide:latest
167+
153168
lint:
154169
runs-on: ubuntu-latest
155170
steps:

0 commit comments

Comments
 (0)