Skip to content

Commit

Permalink
fix post push tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shizunge committed Jan 25, 2024
1 parent 44a8f36 commit 8173086
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,11 @@ jobs:
- name: Post push tests
run: |
echo "Start running tests";
echo "Using tag ${{ steps.meta.outputs.tags }}";
export GANTRY_TEST_CONTAINER_REPO_TAG="${{ github.repository }}:${{ steps.meta.outputs.tags }}";
TAG=$(echo "${{ steps.meta.outputs.tags }}" | grep "dev-")
echo "Using tag ${TAG}";
export GANTRY_TEST_CONTAINER_REPO_TAG="${TAG}";
export GANTRY_TEST_ENABLE_TESTS="test_new_image_";
./tests/run_all_tests.sh "${{ github.repository }}-test" "ghcr.io" "${{ github.repository_owner }}" "${{ github.token }}";
export GANTRY_TEST_ENABLE_TESTS="test_CLEANUP_IMAGES_";
./tests/run_all_tests.sh "${{ github.repository }}-test" "ghcr.io" "${{ github.repository_owner }}" "${{ github.token }}";
echo "Done running tests";
clean-ghcr-tests:
Expand Down

0 comments on commit 8173086

Please sign in to comment.