Skip to content

Commit f487314

Browse files
committed
Use ubuntu-latest runners with GHA cache
1 parent 280708d commit f487314

2 files changed

Lines changed: 10 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
test:
1111
name: Test
12-
runs-on: arc-runner-oas-checker
12+
runs-on: ubuntu-latest
1313

1414
steps:
1515
- uses: actions/checkout@v4
@@ -28,7 +28,7 @@ jobs:
2828

2929
lint-helm:
3030
name: Lint Helm Chart
31-
runs-on: arc-runner-oas-checker
31+
runs-on: ubuntu-latest
3232

3333
steps:
3434
- uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
jobs:
1515
test:
1616
name: Test
17-
runs-on: arc-runner-oas-checker
17+
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v4
2020

@@ -32,7 +32,7 @@ jobs:
3232

3333
build-eservice:
3434
name: Build eservice image
35-
runs-on: arc-runner-oas-checker
35+
runs-on: ubuntu-latest
3636
needs: test
3737
permissions:
3838
contents: read
@@ -43,8 +43,6 @@ jobs:
4343

4444
- name: Set up Docker Buildx
4545
uses: docker/setup-buildx-action@v3
46-
with:
47-
driver: docker-container
4846

4947
- name: Log in to GHCR
5048
uses: docker/login-action@v3
@@ -66,15 +64,15 @@ jobs:
6664
tags: |
6765
${{ env.ESERVICE_IMAGE }}:${{ steps.version.outputs.version }}
6866
${{ env.ESERVICE_IMAGE }}:latest
69-
cache-from: type=registry,ref=${{ env.ESERVICE_IMAGE }}:buildcache
70-
cache-to: type=registry,ref=${{ env.ESERVICE_IMAGE }}:buildcache,mode=max
67+
cache-from: type=gha
68+
cache-to: type=gha,mode=max
7169
labels: |
7270
org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
7371
org.opencontainers.image.version=${{ steps.version.outputs.version }}
7472
7573
build-function:
7674
name: Build function image
77-
runs-on: arc-runner-oas-checker
75+
runs-on: ubuntu-latest
7876
needs: test
7977
permissions:
8078
contents: read
@@ -85,8 +83,6 @@ jobs:
8583

8684
- name: Set up Docker Buildx
8785
uses: docker/setup-buildx-action@v3
88-
with:
89-
driver: docker-container
9086

9187
- name: Log in to GHCR
9288
uses: docker/login-action@v3
@@ -109,15 +105,15 @@ jobs:
109105
tags: |
110106
${{ env.FUNCTION_IMAGE }}:${{ steps.version.outputs.version }}
111107
${{ env.FUNCTION_IMAGE }}:latest
112-
cache-from: type=registry,ref=${{ env.FUNCTION_IMAGE }}:buildcache
113-
cache-to: type=registry,ref=${{ env.FUNCTION_IMAGE }}:buildcache,mode=max
108+
cache-from: type=gha
109+
cache-to: type=gha,mode=max
114110
labels: |
115111
org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
116112
org.opencontainers.image.version=${{ steps.version.outputs.version }}
117113
118114
publish-helm:
119115
name: Publish Helm chart
120-
runs-on: arc-runner-oas-checker
116+
runs-on: ubuntu-latest
121117
needs: [build-eservice, build-function]
122118
permissions:
123119
contents: read

0 commit comments

Comments
 (0)