Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 36774f1ea3 | |||
| 28ac451294 | |||
| 6c46671f98 | |||
| 3733bb5bbf | |||
| d97a3100b5 | |||
| 6b6723b414 | |||
| 028c09298c |
@@ -10,10 +10,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v4
|
||||
|
||||
- name: Set Registry Domain
|
||||
run: |
|
||||
@@ -21,14 +21,14 @@ jobs:
|
||||
echo "REGISTRY_DOMAIN=$REGISTRY_DOMAIN" >> $GITHUB_ENV
|
||||
|
||||
- name: Login to Gitea Registry
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v4
|
||||
with:
|
||||
registry: ${{ env.REGISTRY_DOMAIN }}
|
||||
username: ${{ secrets.REGISTRY_USER }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v4
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
|
||||
@@ -10,10 +10,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v4
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
# Stage that builds the application, a prerequisite for the running stage
|
||||
FROM eclipse-temurin:21-jdk-noble AS build
|
||||
FROM eclipse-temurin:26-jdk-noble AS build
|
||||
|
||||
RUN apt-get update -qq
|
||||
|
||||
@@ -20,7 +20,7 @@ RUN curl -OL https://github.com/open-telemetry/opentelemetry-java-instrumentatio
|
||||
RUN ./mvnw --batch-mode clean verify -DskipTests
|
||||
|
||||
# Running stage: the part that is used for running the application
|
||||
FROM eclipse-temurin:21-jre-noble
|
||||
FROM eclipse-temurin:26-jre-noble
|
||||
|
||||
RUN useradd -m app
|
||||
USER app
|
||||
|
||||
Reference in New Issue
Block a user