diff --git a/.github/workflows/pr-close.yaml b/.github/workflows/pr-close.yaml index 15e834a..00b33dd 100644 --- a/.github/workflows/pr-close.yaml +++ b/.github/workflows/pr-close.yaml @@ -11,7 +11,7 @@ jobs: # Clean up OpenShift when PR closed, no conditions cleanup-openshift: name: Cleanup OpenShift - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 environment: dev steps: @@ -44,7 +44,7 @@ jobs: name: Image Promotions # TODO: uncomment once working #if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main' - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 environment: prod permissions: packages: write @@ -66,7 +66,7 @@ jobs: echo "COMMIT_SHA=$sha" >> $GITHUB_ENV - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 id: checkout with: # fetch-depth: 0 diff --git a/.github/workflows/pr-open-build-deploy.yaml b/.github/workflows/pr-open-build-deploy.yaml index 4adc8a6..c39a472 100644 --- a/.github/workflows/pr-open-build-deploy.yaml +++ b/.github/workflows/pr-open-build-deploy.yaml @@ -31,7 +31,7 @@ jobs: run: shell: bash name: calculateImageTag - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 outputs: imagetag: ${{ steps.CalculateImageTagstep.outputs.IMAGE_TAG}} steps: @@ -53,7 +53,7 @@ jobs: run: shell: bash needs: CalculateImageTags - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: GET Image Tag id: getImageTag @@ -70,13 +70,13 @@ jobs: shell: bash needs: CalculateImageTags name: 'Build Streamlit Container Image' - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 env: DEBUG_DEPLOY: false steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 id: checkout # with: # fetch-depth: 0 @@ -90,14 +90,14 @@ jobs: echo event number is: ${{ github.event.number }} - name: Log in to GitHub Docker Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and Push Client Docker Image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v6 env: IMAGE_TAG: ${{ needs.CalculateImageTags.outputs.imagetag }} @@ -114,11 +114,11 @@ jobs: shell: bash needs: [CalculateImageTags, BuildContainerImage] name: 'Deploy Streamlit Image' - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 environment: dev steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 id: checkout with: # fetch-depth: 0 @@ -177,7 +177,7 @@ jobs: echo "OC_ROUTE=https://$route_path" >> $GITHUB_ENV - name: Comment PR - uses: thollander/actions-comment-pull-request@v2 + uses: thollander/actions-comment-pull-request@v3 with: message: | Route to deployed app is: ${{ env.OC_ROUTE }}