Skip to content

Commit

Permalink
Dice renamed to Dice Server
Browse files Browse the repository at this point in the history
  • Loading branch information
arpitbbhayani committed Jun 7, 2024
1 parent d011772 commit 16ccd2c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: dicedb/dice
images: dicedb/dice-server

- name: Build and push Docker image
id: push
Expand All @@ -42,6 +42,6 @@ jobs:
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: docker.io/dicedb/dice
subject-name: docker.io/dicedb/dice-server
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ COPY go.mod go.sum ./
RUN go mod download
COPY . .

RUN CGO_ENABLED=0 GOOS=linux go build -o /dicedb/dice
RUN CGO_ENABLED=0 GOOS=linux go build -o /dicedb/dice-server
EXPOSE 7379
CMD ["/dicedb/dice"]
CMD ["/dicedb/dice-server"]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: build-docker

build-docker:
docker build --tag dicedb/dice:latest --tag dicedb/dice:0.0.1 .
docker build --tag dicedb/dice-server:latest --tag dicedb/dice-server:0.0.1 .

0 comments on commit 16ccd2c

Please sign in to comment.