mirror of
https://github.com/kiranshila/Doplarr.git
synced 2026-03-31 06:24:10 -04:00
Switch to Java 16, make docker context contain only jar
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
.github/
|
||||
logos/
|
||||
screenshots/
|
||||
.gitignore
|
||||
LICENSE
|
||||
README.md
|
||||
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@@ -20,16 +20,18 @@ jobs:
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: "adopt"
|
||||
java-version: "11"
|
||||
java-version: "16"
|
||||
|
||||
- name: Install clojure tools
|
||||
uses: DeLaGuardo/setup-clojure@3.5
|
||||
with:
|
||||
cli: 1.10.3.943
|
||||
|
||||
- name: Build bot
|
||||
run: clojure -T:build uber
|
||||
- name: Build bot and copy out jar for docker
|
||||
shell: bash
|
||||
run: |
|
||||
clojure -T:build uber
|
||||
cp target/doplarr.jar docker
|
||||
|
||||
- name: Release tagged version
|
||||
uses: softprops/action-gh-release@v1
|
||||
@@ -56,7 +58,7 @@ jobs:
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
context: docker
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM adoptopenjdk/openjdk11:alpine-jre
|
||||
FROM adoptopenjdk/openjdk16:alpine-jre
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user