CI: fix runtime testing for non master branch
authorPaul Spooren <mail@aparcar.org>
Thu, 13 Jan 2022 23:55:36 +0000 (00:55 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Wed, 2 Feb 2022 17:45:13 +0000 (18:45 +0100)
The runtime testing always ran on master branch aka snapshots since the
branch wasn't passed over to the container execution!

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit f535d770901674d7d9f3d8cd9abe566d9db63ebe)

.github/workflows/multi-arch-test-build.yml

index b14d4d42a2ecb7bbfb473205f7b50af82ac093aa..e5e3845e6f8b3f2e33cf20ed47ede856804b95ae 100644 (file)
@@ -93,7 +93,7 @@ jobs:
         run: |
           docker build -t test-container --build-arg ARCH .github/workflows/
         env:
-          ARCH: ${{ matrix.arch }}
+          ARCH: ${{ matrix.arch }}-${{ env.BRANCH }}
 
       - name: Test via Docker container
         if: ${{ matrix.runtime_test }}