Skip to content

Commit

Permalink
fix(cicd): fix file names and environment to sfp
Browse files Browse the repository at this point in the history
  • Loading branch information
azlam-abdulsalam committed Feb 29, 2024
1 parent 0f5cdc7 commit fe1137f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
# On successfull creation of packages,(or even if lerna skips), create docker image
build-docker:
name: 'build docker image'
uses: ./.github/workflows/sfpowerscripts-build-docker.yml
uses: ./.github/workflows/sfp-build-docker.yml
with:
job-environment: 'build-docker'
suffix-tag: ${{ github.run_id }}
Expand All @@ -56,7 +56,7 @@ jobs:

build-docker-lite:
name: 'build sfp lite docker image'
uses: ./.github/workflows/sfpowerscripts-build-docker.yml
uses: ./.github/workflows/sfp-build-docker.yml
with:
job-environment: 'build-docker'
suffix-tag: ${{ github.run_id }}
Expand All @@ -78,16 +78,16 @@ jobs:
with:
version: 'alpha'
pathToPackageJson: 'packages/sfp-cli/package.json'
environment: sfpowerscripts-alpha
environment: sfp-alpha
secrets:
npm-token: ${{ secrets.NPM_TOKEN }}
needs: [ build ]

alpha-docker:
name: 'promote docker to alpha'
uses: ./.github/workflows/sfpowerscripts-promote-docker.yml
uses: ./.github/workflows/sfp-promote-docker.yml
with:
job-environment: 'sfpowerscripts-alpha-docker'
job-environment: 'sfp-alpha-docker'
repo: 'flxbl-io'
new-tag: alpha
image: 'sfp-rc'
Expand All @@ -98,9 +98,9 @@ jobs:

alpha-docker-lite:
name: 'promote docker lite to alpha'
uses: ./.github/workflows/sfpowerscripts-promote-docker.yml
uses: ./.github/workflows/sfp-promote-docker.yml
with:
job-environment: 'sfpowerscripts-alpha-docker'
job-environment: 'sfp-alpha-docker'
repo: 'flxbl-io'
new-tag: alpha
image: 'sfp-lite-rc'
Expand All @@ -123,7 +123,7 @@ jobs:

beta-docker:
name: 'promote docker to beta'
uses: ./.github/workflows/sfpowerscripts-promote-docker.yml
uses: ./.github/workflows/sfp-promote-docker.yml
with:
job-environment: 'sfpowerscripts-beta-docker'
repo: 'flxbl-io'
Expand All @@ -136,9 +136,9 @@ jobs:

beta-docker-lite:
name: 'promote docker light to beta'
uses: ./.github/workflows/sfpowerscripts-promote-docker.yml
uses: ./.github/workflows/sfp-promote-docker.yml
with:
job-environment: 'sfpowerscripts-beta-docker'
job-environment: 'sfp-beta-docker'
repo: 'flxbl-io'
new-tag: beta
image: 'sfp-rc'
Expand All @@ -156,16 +156,16 @@ jobs:
with:
version: 'latest'
pathToPackageJson: 'packages/sfp-cli/package.json'
environment: sfpowerscripts-prod
environment: sfp-prod
secrets:
npm-token: ${{ secrets.NPM_TOKEN }}
needs: [ build ]

prod-docker:
name: 'copy rc docker to prod'
uses: ./.github/workflows/sfpowerscripts-copy-docker.yml
uses: ./.github/workflows/sfp-copy-docker.yml
with:
job-environment: 'sfpowerscripts-prod-docker'
job-environment: 'sfp-prod-docker'
secrets:
username: ${{ secrets.DOCKER_USERNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -175,9 +175,9 @@ jobs:

prod-docker-lite:
name: 'copy rc lite docker to prod'
uses: ./.github/workflows/sfpowerscripts-copy-docker.yml
uses: ./.github/workflows/sfp-copy-docker.yml
with:
job-environment: 'sfpowerscripts-prod-docker'
job-environment: 'sfp-prod-docker'
image: sfp-lite-rc
image-as: sfp-lite
secrets:
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
image-as:
type: string
required: false
default: sfpowerscripts
default: sfp
secrets:
username:
required: true
Expand Down
File renamed without changes.

0 comments on commit fe1137f

Please sign in to comment.