Skip to content

Commit

Permalink
checking how to define paths consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
GiugAles committed Jan 23, 2024
1 parent a8b67da commit a342a0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/containerized.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
with:
# Omitting name to download all artifacts
# Skipping '/' is on purpose
path: opt/
path: opt/app
-
name: Build and push
uses: docker/build-push-action@v5
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG YGGDRASIL_VERSION

# https://stackoverflow.com/a/793867
RUN mkdir -p /opt/
ADD opt/ /opt/
ADD opt/app/ /opt/app/
WORKDIR /opt/app/

ENTRYPOINT java -jar /opt/app/yggdrasil-${YGGDRASIL_VERSION}-SNAPSHOT-all.jar

0 comments on commit a342a0e

Please sign in to comment.