[GithubActions] Enable image caching when not using self-hosted runners

This commit is contained in:
Aaro Koivukangas
2026-07-26 16:12:53 +03:00
parent 22a4ae17f6
commit 301085b566
+5 -2
View File
@@ -51,7 +51,8 @@ jobs:
name: Pull all needed docker images and cache them (if dbs have not changed)
runs-on: ubuntu-latest
if: |
!cancelled() && !failure() && false &&
!cancelled() && !failure() &&
${{ runner.name != 'self-hosted' }} &&
!(
needs.check_updater_changed.outputs.has_updater_changed == 'true' ||
needs.check_migration_files.outputs.kone_db_migrations == 'true' ||
@@ -352,7 +353,9 @@ jobs:
cache_cypress_image:
runs-on: ubuntu-latest
if: |
!cancelled() && !failure() && false
!cancelled() && !failure() &&
${{ runner.name != 'self-hosted' }}
steps:
- name: Set up cache for Cypress image (saved in Post-step)
id: cache-cypress-image