Skip to content

Commit c32059a

Browse files
Fix ubuntu 20 in CI
> This is a scheduled Ubuntu 20.04 brownout. Ubuntu 20.04 LTS runner will be removed on 2025-04-15. For more details, see actions/runner-images#11101 Issue: CLDSRV-668
1 parent 866a311 commit c32059a

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414

1515
jobs:
1616
build-federation-image:
17-
runs-on: ubuntu-20.04
17+
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v4

.github/workflows/tests.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
if: always()
150150

151151
build:
152-
runs-on: ubuntu-20.04
152+
runs-on: ubuntu-latest
153153
permissions:
154154
contents: read
155155
packages: write
@@ -189,7 +189,21 @@ jobs:
189189
git.commit-sha=${{ github.sha }}
190190
cache-from: type=gha,scope=pykmip
191191
cache-to: type=gha,mode=max,scope=pykmip
192-
- name: Build and push MongoDB
192+
193+
build-federation-image:
194+
runs-on: ubuntu-latest
195+
steps:
196+
- name: Checkout
197+
uses: actions/checkout@v4
198+
- name: Set up Docker Buildx
199+
uses: docker/setup-buildx-action@v3
200+
- name: Login to GitHub Registry
201+
uses: docker/login-action@v3
202+
with:
203+
registry: ghcr.io
204+
username: ${{ github.repository_owner }}
205+
password: ${{ github.token }}
206+
- name: Build and push image for federation
193207
uses: docker/build-push-action@v5
194208
with:
195209
push: true

0 commit comments

Comments
 (0)