Skip to content

Commit

Permalink
Fixed test workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Janos SUTO <[email protected]>
  • Loading branch information
jsuto committed Apr 14, 2024
1 parent c13432f commit 1534414
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ jobs:
DISTRO: ${{ env.DISTRO }}
IMAGE_NAME: ${{ env.IMAGE_NAME }}
PROJECT_ID: ${{ env.PROJECT_ID }}
TEST_TAG: ${{ env.TEST_TAG }}
VERSION: ${{ steps.get-version.outputs.VERSION }}

run-tests:
Expand All @@ -58,15 +57,21 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Download packages
uses: actions/download-artifact@v4
with:
path: docker

- name: Build image
uses: ./.github/actions/build/image
with:
ARCH: ${{ env.ARCH }}
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKER_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
IMAGE_NAME: ${{ env.IMAGE_NAME }}
PACKAGE: ${{ needs.build.outputs.PACKAGE }}
TEST_TAG: ${{ env.TEST_TAG }}
IMAGE_NAME: ${{ env.IMAGE_NAME }}:${{ env.TEST_TAG }}
LOAD: true
PACKAGE: ${{ env.PROJECT_ID }}_${{ needs.build.outputs.VERSION }}-${{ env.DISTRO }}-${{ needs.build.outputs.COMMIT_ID }}
PLATFORMS: 'linux/arm64'
PUSH: false

- name: Run tests
uses: ./.github/actions/test
Expand Down

0 comments on commit 1534414

Please sign in to comment.