Skip to content

Commit fa2c949

Browse files
Merge remote-tracking branch 'ksivamuthu/main'
2 parents dc89653 + 4054f18 commit fa2c949

File tree

7 files changed

+175
-126
lines changed

7 files changed

+175
-126
lines changed

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,36 @@ This repo contains the github actions for installing [AWS Copilot cli](https://g
4242
env: prod
4343
force: false # optional
4444
```
45+
46+
47+
## Optional parameters
48+
49+
### Name
50+
51+
In the with attribute, the name value can be used to define the name of the job to be published
52+
53+
```
54+
deploy:
55+
steps:
56+
- uses: ksivamuthu/[email protected]
57+
with:
58+
command: deploy
59+
app: your-awesome-app
60+
env: prod
61+
name: job-name
62+
```
63+
64+
### Tag
65+
66+
In the with attribute, the tag value can be used to define the tag image name
67+
68+
```
69+
deploy:
70+
steps:
71+
- uses: ksivamuthu/[email protected]
72+
with:
73+
command: deploy
74+
app: your-awesome-app
75+
env: prod
76+
tag: image-name
77+
```

action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ inputs:
1616
required: false
1717
default: "false"
1818
description: "run force"
19+
name:
20+
required: false
21+
description: "service name"
22+
tag:
23+
required: false
24+
description: "ecr tag name"
25+
resource-tags:
26+
required: false
27+
description: "resource tags, comma separated key=value pairs"
1928
path:
2029
required: false
2130
description: "path name"

dist/index.js

Lines changed: 11 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)