Skip to content

Commit

Permalink
chore(migration to redhat-developer): update jobs to use redhat-devel…
Browse files Browse the repository at this point in the history
…oper/rhdh and quay.io/rhdh-community/rhdh (RHIDP-1022) (#2177)

Signed-off-by: Nick Boldt <nboldt@redhat.com>
  • Loading branch information
nickboldt authored Jan 13, 2025
1 parent c9ccf06 commit f7c8441
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/actions/docker-build/action.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/next-docker-build.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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-
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr-docker-build.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -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 }})'
})
8 changes: 4 additions & 4 deletions .github/workflows/versioned-docker-build.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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:
Expand Down Expand Up @@ -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}}
Expand Down

0 comments on commit f7c8441

Please sign in to comment.