Skip to content

Commit

Permalink
env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
GiugAles committed Jan 25, 2024
1 parent 463bc1b commit c130dd0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/containerize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
YGGDRASIL_VERSION: "${{ needs.set-vars.outputs.VERSION }}"
ports:
- "8899:8080"
env:
YGGDRASIL_VERSION: "${{ needs.set-vars.outputs.VERSION }}"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ FROM eclipse-temurin:21

ARG YGGDRASIL_VERSION

# Entrypoint requires having it as ENV
ENV YGGDRASIL_VERSION ${YGGDRASIL_VERSION}

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

0 comments on commit c130dd0

Please sign in to comment.