Skip to content

Commit 52b6a65

Browse files
committed
ci: run workflow jobs on ubuntu-latest
1 parent 09d1739 commit 52b6a65

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/cicd-actions.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
branches:
99
- '**'
1010

11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
1115
env:
1216
DOCKER_DRIVER: overlay2
1317
DOCKER_TLS_CERTDIR: ""
@@ -16,7 +20,7 @@ env:
1620

1721
jobs:
1822
create_dotenv_file:
19-
runs-on: [ self-hosted ]
23+
runs-on: ubuntu-latest
2024
steps:
2125
- name: Checkout code
2226
uses: actions/checkout@v4
@@ -60,7 +64,7 @@ jobs:
6064
include-hidden-files: true
6165

6266
testing:
63-
runs-on: [ self-hosted ]
67+
runs-on: ubuntu-latest
6468
needs: create_dotenv_file
6569
steps:
6670
- name: Checkout code
@@ -114,7 +118,7 @@ jobs:
114118
path: backend/htmlcov
115119

116120
cleanup:
117-
runs-on: [ self-hosted ]
121+
runs-on: ubuntu-latest
118122
needs: testing
119123
if: always()
120124
steps:
@@ -133,7 +137,7 @@ jobs:
133137
docker compose -f docker-compose.ci.yml down
134138
135139
build_frontend_files:
136-
runs-on: [ self-hosted ]
140+
runs-on: ubuntu-latest
137141
if: github.ref == 'refs/heads/main'
138142
needs: cleanup
139143
steps:
@@ -153,7 +157,7 @@ jobs:
153157
path: backend/assets/*
154158

155159
build_and_push_container:
156-
runs-on: [ self-hosted ]
160+
runs-on: ubuntu-latest
157161
permissions:
158162
packages: write
159163
contents: read
@@ -198,7 +202,7 @@ jobs:
198202
labels: ${{ steps.meta.outputs.labels }}
199203

200204
build_and_push_adapter:
201-
runs-on: [ self-hosted ]
205+
runs-on: ubuntu-latest
202206
permissions:
203207
packages: write
204208
contents: read

0 commit comments

Comments
 (0)