diff --git a/.github/workflows/docker-image-develop.yml b/.github/workflows/docker-image-develop.yml index a9fc6d0..dd57cd4 100644 --- a/.github/workflows/docker-image-develop.yml +++ b/.github/workflows/docker-image-develop.yml @@ -18,16 +18,17 @@ jobs: # See also https://docs.docker.com/docker-hub/builds/ push: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest if: github.event_name == 'push' steps: - name: Checkout repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: - java-version: 1.11 + distribution: 'temurin' + java-version: '11' - name: Build jar run: mvn clean install - name: Build image diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 2d4d901..f4dbc2d 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -18,16 +18,17 @@ jobs: # See also https://docs.docker.com/docker-hub/builds/ push: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest if: github.event_name == 'push' steps: - name: Checkout repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: - java-version: 1.11 + distribution: 'temurin' + java-version: '11' - name: Build jar run: mvn clean install - name: Build image