File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9797 uses : docker/build-push-action@v2
9898 with :
9999 context : .
100- file : Dockerfile
100+ file : Dockerfile.build
101101 platforms : linux/amd64
102102 push : true
103103 tags : ${{ steps.docker_meta.outputs.tags }}
Original file line number Diff line number Diff line change 99 "assets": [
1010 {
1111 "path": "app/build/libs/app.jar",
12- "label": "Main executable Jar file"
1312 }
1413 ]
1514 }
Original file line number Diff line number Diff line change 1- FROM openjdk:11 as build
2-
3- ENV APP_HOME=/codingpot
4- WORKDIR $APP_HOME
5-
6- COPY build.gradle.kts settings.gradle.kts gradlew $APP_HOME/
7- COPY gradle $APP_HOME/gradle/
8- COPY app/build.gradle $APP_HOME/app/
9-
10- RUN ./gradlew resolveDependencies
11-
12- COPY . $APP_HOME
13- RUN ./gradlew build
14-
15- FROM gcr.io/distroless/java:11
16- COPY --from=build /codingpot/app/build/libs/app.jar /codingpot/
1+ FROM ghcr.io/codingpot/github-org-member-manage-action:1.1.1
172CMD ["/codingpot/app.jar" ]
Original file line number Diff line number Diff line change 1+ FROM openjdk:11 as build
2+
3+ ENV APP_HOME=/codingpot
4+ WORKDIR $APP_HOME
5+
6+ COPY build.gradle.kts settings.gradle.kts gradlew $APP_HOME/
7+ COPY gradle $APP_HOME/gradle/
8+ COPY app/build.gradle $APP_HOME/app/
9+
10+ RUN ./gradlew resolveDependencies
11+
12+ COPY . $APP_HOME
13+ RUN ./gradlew build
14+
15+ FROM gcr.io/distroless/java:11
16+ COPY --from=build /codingpot/app/build/libs/app.jar /codingpot/
17+ CMD ["/codingpot/app.jar"]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -25,4 +25,4 @@ inputs:
2525
2626runs :
2727 using : docker
28- image : Dockerfile.prod
28+ image : Dockerfile
You can’t perform that action at this time.
0 commit comments