Skip to content

Commit

Permalink
CMS-000: Pin github action environment to Ubuntu 24
Browse files Browse the repository at this point in the history
  • Loading branch information
duncan-oxd committed Dec 17, 2024
1 parent 4613f5b commit c4b1a7f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:

jobs:
build-frontend:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
IMAGE_NAME: frontend-${{ github.ref_name }}
steps:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
run: docker push --all-tags ${{ env.REGISTRY_IMAGE }}

build-backend:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
IMAGE_NAME: backend-${{ github.ref_name }}
steps:
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Push Docker image
run: docker push --all-tags ${{ env.REGISTRY_IMAGE }}
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [build-frontend, build-backend]
steps:
- name: Login OpenShift
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-alpha-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:

jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Install OpenShift CLI tools
uses: redhat-actions/openshift-tools-installer@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:

jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Attempt to checkout tag
uses: actions/checkout@v3
Expand All @@ -31,7 +31,7 @@ jobs:
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4.14"

- name: Login OpenShift
uses: redhat-actions/oc-login@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:

jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Attempt to checkout tag
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/on-tag-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:

jobs:
tag:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Set env
run: |
Expand All @@ -22,7 +22,7 @@ jobs:
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4.14"

- name: Login OpenShift
uses: redhat-actions/oc-login@v1
with:
Expand Down

0 comments on commit c4b1a7f

Please sign in to comment.