Skip to content

Commit

Permalink
HPC-8676: Adjust to breaking changes of GitHub Action
Browse files Browse the repository at this point in the history
GitHub Action started supporting releasing from a monorepo,
which this repository is NOT, but due to breaking changes,
we need to make a couple of adjustments here:
1) Change from `docker` object to `dockerImages`
array in configuration
2) Rename `path` to `dockerfilePath`
  • Loading branch information
Pl217 committed Jun 14, 2024
1 parent e044dd1 commit 0a4c0eb
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .github/workflow.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@
"stagingEnvironmentBranch": "env/stage",
"repoType": "node",
"developmentEnvironmentBranches": ["env/red.dev", "env/blue.dev"],
"docker": {
"path": ".",
"args": {
"commitSha": "COMMIT_SHA",
"treeSha": "TREE_SHA"
},
"environmentVariables": {
"commitSha": "HPC_ACTIONS_COMMIT_SHA",
"treeSha": "HPC_ACTIONS_TREE_SHA"
},
"repository": "public.ecr.aws/unocha/hpc-api",
"skipLogin": true
},
"dockerImages": [
{
"dockerfilePath": ".",
"args": {
"commitSha": "COMMIT_SHA",
"treeSha": "TREE_SHA"
},
"environmentVariables": {
"commitSha": "HPC_ACTIONS_COMMIT_SHA",
"treeSha": "HPC_ACTIONS_TREE_SHA"
},
"repository": "public.ecr.aws/unocha/hpc-api",
"skipLogin": true
}
],
"mergebackLabels": ["mergeback"],
"deployments": {
"environments": [
Expand Down

0 comments on commit 0a4c0eb

Please sign in to comment.