Skip to content

Commit

Permalink
feat: update tag
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlawr committed Jan 23, 2024
1 parent febd323 commit 73d883a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ COPY docker-compose.yaml .
COPY metadata.json .
COPY walrus.svg .
COPY --from=client-builder /ui/build ui

ARG TAG
ENV TAG=${TAG}
RUN sed -i'' -e "s/WALRUS_TAG/${TAG}/g" docker-compose.yaml
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ INFO_COLOR = \033[0;36m
NO_COLOR = \033[m

build-extension: ## Build service image to be deployed as a desktop extension
docker build --tag=$(IMAGE):$(TAG) .
docker build --build-arg TAG=$(TAG) --tag=$(IMAGE):$(TAG) .

install-extension: build-extension ## Install the extension
docker extension install $(IMAGE):$(TAG)
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
walrus:
image: sealio/walrus:main
image: sealio/walrus:WALRUS_TAG
privileged: true
ports:
- "7080:80"
Expand Down

0 comments on commit 73d883a

Please sign in to comment.