mirror of
https://github.com/kiranshila/Doplarr.git
synced 2026-04-05 08:53:59 -04:00
chore: update CI
This commit is contained in:
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
@@ -14,18 +14,18 @@ jobs:
|
|||||||
packages: write
|
packages: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Prepare java
|
- name: Prepare java
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: "adopt"
|
distribution: "adopt"
|
||||||
java-version: "16"
|
java-version: "22"
|
||||||
|
|
||||||
- name: Install clojure tools
|
- name: Install clojure tools
|
||||||
uses: DeLaGuardo/setup-clojure@3.5
|
uses: DeLaGuardo/setup-clojure@13.4
|
||||||
with:
|
with:
|
||||||
cli: 1.10.3.943
|
cli: latest
|
||||||
|
|
||||||
- name: Build bot and copy out jar for docker
|
- name: Build bot and copy out jar for docker
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
cp target/doplarr.jar docker
|
cp target/doplarr.jar docker
|
||||||
|
|
||||||
- name: Release tagged version
|
- name: Release tagged version
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v2
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
config.edn
|
config.edn
|
||||||
|
|
||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
@@ -50,12 +50,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v3
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: docker
|
context: docker
|
||||||
push: true
|
push: true
|
||||||
|
|||||||
Reference in New Issue
Block a user