Skip to content

Commit bae3487

Browse files
authored
ci: use hosted runners only when running from the cloudnative-pg org (#425)
Relates to cloudnative-pg/cloudnative-pg#10226 Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
1 parent d5034d0 commit bae3487

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/bake_targets.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
testbuild:
4040
# Start by building images for testing. We want to run security checks before pushing those to production.
4141
name: PostgreSQL ${{ inputs.postgresql_version }}
42-
runs-on: ubuntu-latest-16-cores
42+
runs-on: ${{ github.repository_owner == 'cloudnative-pg' && 'ubuntu-latest-16-cores' || 'ubuntu-24.04' }}
4343
permissions:
4444
contents: read
4545
packages: write
@@ -137,7 +137,7 @@ jobs:
137137
138138
security:
139139
name: Security checks
140-
runs-on: ubuntu-latest-4-cores
140+
runs-on: ubuntu-24.04
141141
permissions:
142142
contents: read
143143
packages: read

0 commit comments

Comments
 (0)