From b45ad76fffd5eeba92c09cec66dfe0de37b07665 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Thu, 14 Nov 2024 19:24:58 -0500 Subject: [PATCH] feat: Run CI --- .gitea/workflows/ci.yaml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 35701f9..4572b3e 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -22,23 +22,24 @@ jobs: -p "8080:8080" \ -p "8081:8081" \ eclipse-mosquitto:latest - - name: Build the test image. - uses: docker/build-push-action@v5 - with: - context: . - file: Dockerfile.test - platforms: | - linux/arm64 - linux/amd64 - push: true - tags: | - git.housh.dev/michael/${{ gitea.repository }}:${{ gitea.sha }} +# - name: Build the test image. +# uses: docker/build-push-action@v5 +# with: +# context: . +# file: Dockerfile.test +# platforms: | +# linux/arm64 +# linux/amd64 +# push: true +# tags: | +# git.housh.dev/michael/${{ gitea.repository }}:${{ gitea.sha }} + - name: Build test image. + run: docker buildx build -f Dockerfile.test -t ${{ gitea.repositry }}:${{ gitea.sha }} - name: Run Test run: > docker run --rm \ -e MOSQUITTO_SERVER=127.0.0.1 \ - git.housh.dev/michael/${{ gitea.repository }}:${{ gitea.sha }} \ - swift test + ${{ gitea.repository }}:${{ gitea.sha }} swift test - name: Cleanup. if: always() run: docker stop mosquitto && docker rm -f mosquitto