FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
example-java-lambda-function/.github/workflows/deliver18.yml at main · aleph0io/example-java-lambda-function · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
aleph0io
/
example-java-lambda-function
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
8
Code
Issues
0
Pull requests
6
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
example-java-lambda-function
/
.github
/
workflows
/
deliver18.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
41 lines (38 loc) · 1.18 KB
Breadcrumbs
example-java-lambda-function
/
.github
/
workflows
/
deliver18.yml
Copy path
File metadata and controls
41 lines (38 loc) · 1.18 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name
:
deliver18
on
:
push
:
branches
:
-
java/18
permissions
:
id-token
:
write
contents
:
read
jobs
:
deploy
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout source code
uses
:
actions/checkout@v4
-
name
:
Set up JDK 18
uses
:
actions/setup-java@v3
with
:
java-version
:
'
18
'
distribution
:
'
corretto
'
-
name
:
Cache local Maven repository
uses
:
actions/cache@v3
with
:
path
:
~/.m2/repository
key
:
${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys
:
|
${{ runner.os }}-maven-
-
name
:
Configure AWS credentials
uses
:
aws-actions/configure-aws-credentials@v4
with
:
role-to-assume
:
arn:aws:iam::${{ secrets.CD_AWS_ACCOUNT_ID }}:role/GitHubRole
aws-region
:
us-east-2
-
name
:
Login to Amazon ECR Public
uses
:
aws-actions/amazon-ecr-login@v2
-
name
:
Deploy artifacts
run
:
mvn -B -Daws.account="$AWS_ACCOUNT_ID" -Daws.region="$AWS_REGION" clean compile install docker:push
env
:
AWS_REGION
:
${{ secrets.AWS_REGION }}
AWS_ACCOUNT_ID
:
${{ secrets.CD_AWS_ACCOUNT_ID }}
Back
|
FazBrowse Home
|
New Git URL