Skip to content

Commit 47251b0

Browse files
committed
change build image as old image no longer exists
1 parent 44eed39 commit 47251b0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Makefile

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
BUILD_DIR:=src/TalonOne
22
VERSION:=$(shell grep -om1 -E '^\[assembly: AssemblyVersion\("[0-9\.]+"\)\]$$' $(PWD)/$(BUILD_DIR)/Properties/AssemblyInfo.cs | sed 's/\[assembly: AssemblyVersion("\(.*\)")\]/\1/')
3-
DOCKER_TAG_ARCH:=$(shell [[ $(shell uname -m) == "arm64" ]] && echo "8.0-focal-arm64v8" || echo "sdk:8.0-focal")
43

54
default: testenv
65

@@ -17,7 +16,7 @@ endif
1716
--rm \
1817
-v $(PWD):/tmp/talon-client \
1918
-w "/tmp/talon-client/$(BUILD_DIR)" \
20-
mcr.microsoft.com/dotnet/sdk:$(DOCKER_TAG_ARCH) \
19+
mcr.microsoft.com/dotnet/sdk:8.0 \
2120
dotnet pack TalonOne.csproj \
2221
-p:PackageVersion=$(VERSION) \
2322
--output . \
@@ -37,7 +36,7 @@ endif
3736
--rm \
3837
-v $(PWD):/tmp/talon-client \
3938
-w "/tmp/talon-client/$(BUILD_DIR)" \
40-
mcr.microsoft.com/dotnet/sdk:$(DOCKER_TAG_ARCH) \
39+
mcr.microsoft.com/dotnet/sdk:8.0 \
4140
dotnet nuget push TalonOne.$(VERSION).nupkg \
4241
--api-key $(apiKey) \
4342
--source https://api.nuget.org/v3/index.json
@@ -48,5 +47,5 @@ testenv:
4847
--rm -it \
4948
-v $(PWD):/tmp/talon-client \
5049
-w /tmp/talon-client \
51-
mcr.microsoft.com/dotnet/sdk:$(DOCKER_TAG_ARCH) \
50+
mcr.microsoft.com/dotnet/sdk:8.0 \
5251
/bin/bash

0 commit comments

Comments
 (0)