Skip to content

Commit

Permalink
Trying to get version to work in Docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
i8beef committed Oct 23, 2021
1 parent db9f1e3 commit 15e06ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN dotnet restore

# copy and build everything else
COPY HomeAutio.Mqtt.Harmony/. ./HomeAutio.Mqtt.Harmony/
RUN dotnet build -c Release /p:Version=${VERSION}
RUN dotnet build --configuration Release /p:Version=$VERSION

# publish
FROM build AS publish
Expand Down
2 changes: 1 addition & 1 deletion src/Dockerfile.arm32
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN dotnet restore

# copy and build everything else
COPY HomeAutio.Mqtt.Harmony/. ./HomeAutio.Mqtt.Harmony/
RUN dotnet build -c Release /p:Version=${VERSION}
RUN dotnet build --configuration Release /p:Version=$VERSION

# publish
FROM build AS publish
Expand Down
2 changes: 1 addition & 1 deletion src/Dockerfile.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN dotnet restore

# copy and build everything else
COPY HomeAutio.Mqtt.Harmony/. ./HomeAutio.Mqtt.Harmony/
RUN dotnet build -c Release /p:Version=${VERSION}
RUN dotnet build --configuration Release /p:Version=$VERSION

# publish
FROM build AS publish
Expand Down

0 comments on commit 15e06ba

Please sign in to comment.