hvalev 3 years ago
parent
commit
85f16e2950
1 changed files with 5 additions and 5 deletions
  1. 5 5
      .github/workflows/main.yml

+ 5 - 5
.github/workflows/main.yml

@@ -14,15 +14,13 @@ jobs:
   test:
     name: Set up python matrix for testing
     runs-on: ubuntu-18.04
-    strategy:
-      matrix:
-        python-version: [3.6, 3.7, 3.8, 3.9]
+    python-version: 3.7
     steps:
       - uses: actions/checkout@master
       - name: Setup Python Matrix
         uses: actions/setup-python@v1
         with:
-          python-version: ${{ matrix.python-version }}
+          python-version: ${{ python-version }}
       - name: Install dependencies
         run: |
           python -m pip install --upgrade pip
@@ -58,10 +56,12 @@ jobs:
         uses: battila7/get-version-action@v2.2.1
       -
         name: Run Buildx
+        with:
+           version: ${{ steps.get_version.outputs.version-without-v }}
         run: |
           docker buildx build --push \
           --tag hvalev/dht22mqtt-homeassistant:latest \
-          --tag hvalev/dht22mqtt-homeassistant:${{ steps.get_version.outputs.version-without-v }} \
+          --tag hvalev/dht22mqtt-homeassistant:${{ version }} \
           --platform linux/arm/v7,linux/arm64 .
       - 
         name: Docker Hub Description