From f7c84419112e8744c24c5ef442244b0ed8c4f4e7 Mon Sep 17 00:00:00 2001 From: Nick Boldt Date: Mon, 13 Jan 2025 13:09:01 -0400 Subject: [PATCH] chore(migration to redhat-developer): update jobs to use redhat-developer/rhdh and quay.io/rhdh-community/rhdh (RHIDP-1022) (#2177) Signed-off-by: Nick Boldt --- .github/actions/docker-build/action.yaml | 2 +- .github/workflows/next-docker-build.yaml | 6 +++--- .github/workflows/pr-docker-build.yaml | 8 ++++---- .github/workflows/versioned-docker-build.yaml | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/actions/docker-build/action.yaml b/.github/actions/docker-build/action.yaml index 0297576773..93d7f662b2 100644 --- a/.github/actions/docker-build/action.yaml +++ b/.github/actions/docker-build/action.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 The Janus IDP Authors +# Copyright Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.github/workflows/next-docker-build.yaml b/.github/workflows/next-docker-build.yaml index 4f73a7b894..a0f318baa5 100644 --- a/.github/workflows/next-docker-build.yaml +++ b/.github/workflows/next-docker-build.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 The Janus IDP Authors +# Copyright Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -55,9 +55,9 @@ jobs: uses: ./.github/actions/docker-build with: registry: ${{ env.REGISTRY }} - username: ${{ vars.QUAY_USERNAME }} + username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_TOKEN }} - imageName: ${{ github.repository }} + imageName: rhdh-community/rhdh imageTags: | type=raw,value=next type=sha,prefix=next- diff --git a/.github/workflows/pr-docker-build.yaml b/.github/workflows/pr-docker-build.yaml index 31fefcd297..bb4d4c5597 100644 --- a/.github/workflows/pr-docker-build.yaml +++ b/.github/workflows/pr-docker-build.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 The Janus IDP Authors +# Copyright Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -62,9 +62,9 @@ jobs: uses: ./.github/actions/docker-build with: registry: ${{ env.REGISTRY }} - username: ${{ vars.QUAY_USERNAME }} + username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_TOKEN }} - imageName: ${{ github.repository }} + imageName: rhdh-community/rhdh imageTags: | type=ref,prefix=pr-,event=pr type=ref,prefix=pr-,suffix=-${{ env.SHORT_SHA }},event=pr @@ -80,5 +80,5 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: 'The image is available at: `quay.io/${{ github.repository }}:pr-${{ github.event.number }}`!' + body: 'The image is available at:\n* [`quay.io/rhdh-community/rhdh:pr-${{ github.event.number }}`](https://quay.io/rhdh-community/rhdh:pr-${{ github.event.number }}) or\n* [`quay.io/rhdh-community/rhdh:pr-${{ github.event.number }}-${{ env.SHORT_SHA }}`](https://quay.io/rhdh-community/rhdh:pr-${{ github.event.number }}-${{ env.SHORT_SHA }})' }) diff --git a/.github/workflows/versioned-docker-build.yaml b/.github/workflows/versioned-docker-build.yaml index c459961d57..7abc53915e 100644 --- a/.github/workflows/versioned-docker-build.yaml +++ b/.github/workflows/versioned-docker-build.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 The Janus IDP Authors +# Copyright Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -# on push of a tag, trigger a container build for that tag and push to http://quay.io/janus-idp/backstage-showcase +# on push of a tag, trigger a container build for that tag and push to http://quay.io/rhdh-community/rhdh name: Versioned Docker Build on: @@ -57,9 +57,9 @@ jobs: uses: ./.github/actions/docker-build with: registry: ${{ env.REGISTRY }} - username: ${{ vars.QUAY_USERNAME }} + username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_TOKEN }} - imageName: ${{ github.repository }} + imageName: rhdh-community/rhdh imageTags: | type=raw,value=latest,enable=${{ env.is_latest }} type=semver,pattern={{version}}