Skip to content

Commit a7ad2f5

Browse files
committed
fix?
1 parent cbb05e6 commit a7ad2f5

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

agent/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ format:
4646
##@ Build
4747
.PHONY: build
4848
build: ## Builds using hatch to `dist`
49-
$(VENV)hatch version $(build_version)
50-
$(VENV)hatch build -c
49+
$(VENV)hatch -p skyhook-agent version $(build_version)
50+
$(VENV)hatch -p skyhook-agent build -c
5151

5252
##@ Publish
5353
.PHONY: publish
5454
publish: ## Publishes using hatch
55-
$(VENV)hatch publish
55+
$(VENV)hatch -p skyhook-agent publish
5656

5757
DOCKER_CMD ?= docker
5858
BUILD_ARGS ?=

agent/docker/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
FROM python:3.12-alpine as builder
22

3-
ARG AGENT_VERSION:-0.0.0
3+
ARG AGENT_VERSION
44

55
COPY . /code
66
WORKDIR /code
7-
RUN apk add bash make
7+
RUN echo "AGENT_VERSION=${AGENT_VERSION}"
8+
RUN apk update && apk add bash make
89
RUN make venv
910
RUN make build build_version=${AGENT_VERSION}
1011

0 commit comments

Comments
 (0)