Skip to content

Commit

Permalink
ci: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
GenjiruSUchiwa committed Nov 25, 2024
1 parent 42362bf commit 5ffc6ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,10 @@ FROM --platform=$BUILDPLATFORM base AS final
ARG TARGETARCH
ARG BUILDPLATFORM

# create a new user and change directory ownership
RUN adduser --disabled-password \
--home /app \
--gecos '' dotnetuser && chown -R dotnetuser /app

# impersonate into the new user
USER dotnetuser

WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ifeq ($(OS),Darwin)
else
RUNTIME := osx-x64
DOCKER_ARCH := x64
PLATFORM := "linux/x64,linux/amd64"
PLATFORM := linux/x64,linux/amd64
endif
else
ifeq ($(ARCH),x86_64)
Expand Down Expand Up @@ -185,7 +185,7 @@ publish: build
docker:
@echo "$(YELLOW)🐳 Building Docker image for $(RUNTIME)...$(NC)"
docker build -f Dockerfile \
--platform=$(PLATFORM) \
--platform="$(PLATFORM)" \
-t $(DOCKER_REPO):$(VERSION)-$(DOCKER_ARCH) .
@echo "$(GREEN)✅ Docker build completed$(NC)"
@echo "Tagged as: $(DOCKER_REPO):$(VERSION)-$(DOCKER_ARCH)"
Expand Down

0 comments on commit 5ffc6ca

Please sign in to comment.