ci(gitea): utilisation du label ubuntu-latest pour l'environnement de test
This commit is contained in:
@@ -9,7 +9,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Build & Run Unit Tests
|
name: Build & Run Unit Tests
|
||||||
runs-on: self-hosted
|
runs-on: [self-hosted, ubuntu-latest]
|
||||||
container:
|
container:
|
||||||
image: maven:3.9.6-eclipse-temurin-21
|
image: maven:3.9.6-eclipse-temurin-21
|
||||||
steps:
|
steps:
|
||||||
@@ -31,7 +31,7 @@ jobs:
|
|||||||
name: Deploy to Test Environment
|
name: Deploy to Test Environment
|
||||||
needs: test
|
needs: test
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
runs-on: [self-hosted, test]
|
runs-on: [self-hosted, ubuntu-latest]
|
||||||
container:
|
container:
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user