Skip to content

Commit

Permalink
add version 21
Browse files Browse the repository at this point in the history
  • Loading branch information
sigpwned committed Sep 25, 2023
1 parent 0f19dd7 commit 1827002
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/deliver21.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: deliver20

on:
push:
branches:
- release/21

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 21
uses: actions/setup-java@v3
with:
java-version: '21'
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-1
- name: Login to Amazon ECR Public
uses: aws-actions/amazon-ecr-login@v1
with:
registry-type: "public"
- name: Deploy artifacts
run: mvn -B clean dependency:copy-dependencies docker:build docker:tag docker:push

0 comments on commit 1827002

Please sign in to comment.