This commit is contained in:
@@ -22,17 +22,7 @@ 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: Get meta.
|
||||
id: meta
|
||||
run: |
|
||||
@@ -41,13 +31,6 @@ jobs:
|
||||
- name: Check meta.
|
||||
run: echo ${{ steps.meta.outputs.REPO_NAME }}
|
||||
|
||||
- name: Buildx Help.
|
||||
run: docker buildx build --help
|
||||
|
||||
- name: List files.
|
||||
run: |
|
||||
ls ${{ gitea.workspace }}
|
||||
|
||||
- name: Build test image.
|
||||
run: |
|
||||
docker build \
|
||||
@@ -58,7 +41,7 @@ jobs:
|
||||
- name: Run Test
|
||||
run: >
|
||||
docker run --rm \
|
||||
-e MOSQUITTO_SERVER=127.0.0.1 \
|
||||
-e MOSQUITTO_SERVER=mosquitto \
|
||||
${{ steps.meta.outputs.REPO_NAME }}:test swift test
|
||||
|
||||
- name: Cleanup.
|
||||
|
||||
Reference in New Issue
Block a user