CI: fix runtime testing for non master branch
authorPaul Spooren <mail@aparcar.org>
Thu, 13 Jan 2022 23:55:36 +0000 (00:55 +0100)
committerPaul Spooren <mail@aparcar.org>
Sat, 15 Jan 2022 10:30:59 +0000 (11:30 +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 cbd9663f8b8fe389acd23e3968fdfb8044514a39..7181fb36ee54ef25673a06ad3adc619773fda8de 100644 (file)
@@ -94,7 +94,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 }}