Skip to content

Commit

Permalink
adding additional app names for images
Browse files Browse the repository at this point in the history
Signed-off-by: Rajpal Chauhan <[email protected]>
  • Loading branch information
rajpalc7 committed Jan 11, 2024
1 parent 39c3fba commit 28d2587
Showing 1 changed file with 85 additions and 0 deletions.
85 changes: 85 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,26 @@ env:
OPENSHIFT_IMAGE_REPO: image-registry.apps.silver.devops.gov.bc.ca/4a9599-tools/
APP_NAME: aries-endorser-agent

env:
GITHUB_IMAGE_REPO: ghcr.io/rajpalc7/dts-endorser-service/
OPENSHIFT_IMAGE_REPO: image-registry.apps.silver.devops.gov.bc.ca/4a9599-tools/
APP_NAME: aries-endorser-db

env:
GITHUB_IMAGE_REPO: ghcr.io/rajpalc7/dts-endorser-service/
OPENSHIFT_IMAGE_REPO: image-registry.apps.silver.devops.gov.bc.ca/4a9599-tools/
APP_NAME: aries-endorser-backup

env:
GITHUB_IMAGE_REPO: ghcr.io/rajpalc7/dts-endorser-service/
OPENSHIFT_IMAGE_REPO: image-registry.apps.silver.devops.gov.bc.ca/4a9599-tools/
APP_NAME: aries-endorser-proxy

env:
GITHUB_IMAGE_REPO: ghcr.io/rajpalc7/dts-endorser-service/
OPENSHIFT_IMAGE_REPO: image-registry.apps.silver.devops.gov.bc.ca/4a9599-tools/
APP_NAME: aries-endorser-api

jobs:
build:
if: (github.repository == 'rajpalc7/dts-endorser-service') || (github.event_name == 'workflow_dispatch')
Expand Down Expand Up @@ -54,6 +74,71 @@ jobs:
type=semver,pattern={{major}}
type=sha,value=latest
- name: Prepare docker tags for image
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/rajpalc7/dts-endorser-service/aries-endorser-db
flavor: |
latest=true
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha,value=latest
- name: Prepare docker tags for image
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/rajpalc7/dts-endorser-service/aries-endorser-backup
flavor: |
latest=true
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha,value=latest
- name: Prepare docker tags for image
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/rajpalc7/dts-endorser-service/aries-endorser-proxy
flavor: |
latest=true
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha,value=latest
- name: Prepare docker tags for image
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/rajpalc7/dts-endorser-service/aries-endorser-api
flavor: |
latest=true
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha,value=latest
- name: Build and push Docker image
id: docker_build
uses: docker/build-push-action@v3
Expand Down

0 comments on commit 28d2587

Please sign in to comment.