Skip to content

Commit

Permalink
fix docker build and ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
UnicornChance committed Mar 14, 2024
1 parent 79017ce commit 60864cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,11 @@ jobs:
- name: Environment setup
uses: defenseunicorns/uds-common/.github/actions/setup@fc12e3a773580020a1d63e254525eab0f8b99fc8

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'

- name: Plugin Unit Tests
run: uds run dev-plugin
2 changes: 1 addition & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FROM cgr.dev/chainguard/maven:openjdk-17 as plugin
WORKDIR /home/build

COPY plugin/pom.xml .
COPY plugin/src ./src
COPY plugin/src ./src/main

RUN mvn clean package

Expand Down

0 comments on commit 60864cc

Please sign in to comment.