Skip to content

Commit 1f42453

Browse files
committed
ci: create CI to build docker image and push to ECR (#3)
1. [Summary](#summary) 2. [Links](#links) 3. [Test Plan](#test-plan) - create Github Action to build the kratos image based on commit sha - tag the image with short-sha to make sure the build https://sph.atlassian.net/browse/IDPF-1427 - deploy to feature branch === images are uploaded to ECR === <img width="1244" height="59" alt="image" src="https://github.com/user-attachments/assets/dc29638c-69a5-4f6d-9ed5-9cb811fe5eaa" />
1 parent f9431e2 commit 1f42453

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+3223
-564
lines changed

.docker/Dockerfile-build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ COPY pkg/client-go/go.* pkg/client-go/
1515

1616
ENV CGO_ENABLED 1
1717
ENV CGO_CPPFLAGS -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600
18+
ENV GOPROXY=https://proxy.golang.org,direct
1819

1920
RUN go mod download
2021

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @aeneasr @ory/product-development
1+
* @SPHTech/identity-platform-team
File renamed without changes.

.github/_workflows/licenses.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# AUTO-GENERATED, DO NOT EDIT!
2+
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/licenses.yml
3+
4+
name: Licenses
5+
6+
on:
7+
pull_request:
8+
push:
9+
branches:
10+
- main
11+
- v3
12+
- master
13+
14+
jobs:
15+
licenses:
16+
name: License compliance
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Install script
20+
uses: ory/ci/licenses/setup@master
21+
with:
22+
token: ${{ secrets.ORY_BOT_PAT || secrets.GITHUB_TOKEN }}
23+
- name: Check licenses
24+
uses: ory/ci/licenses/check@master
25+
- name: Write, commit, push licenses
26+
uses: ory/ci/licenses/write@master
27+
if:
28+
${{ github.ref == 'refs/heads/main' || github.ref ==
29+
'refs/heads/master' || github.ref == 'refs/heads/v3' }}
30+
with:
31+
author-email:
32+
${{ secrets.ORY_BOT_PAT &&
33+
'60093411+ory-bot@users.noreply.github.com' ||
34+
format('{0}@users.noreply.github.com', github.actor) }}
35+
author-name: ${{ secrets.ORY_BOT_PAT && 'ory-bot' || github.actor }}

0 commit comments

Comments
 (0)