Skip to content

Commit

Permalink
chore: RPM has the wrong image name (#657)
Browse files Browse the repository at this point in the history
My prior fix to fixed Docker packaging, but the RPM
still had the wrong image name, so change the path in .goreleaser.yml
to the expected binary name.
  • Loading branch information
jerryharrow authored and hanyucui committed May 31, 2023
1 parent 5f78b69 commit 967cdb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion master/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ snapshot:
builds:
- main: ./cmd/determined-master
id: determined-ee-master
binary: determined-ee-master
binary: determined-master
ldflags:
- -X github.com/determined-ai/determined/master/version.Version={{.Env.VERSION}}
- -X github.com/determined-ai/determined/master/internal/config.DefaultSegmentMasterKey={{.Env.DET_SEGMENT_MASTER_KEY}}
Expand Down
2 changes: 1 addition & 1 deletion master/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ COPY packaging/LICENSE /usr/share/doc/determined-master/copyright
COPY build /usr/share/determined/master
COPY static /usr/share/determined/master/static
COPY determined-gotmpl /usr/bin/determined-gotmpl
COPY determined-ee-master /usr/bin/determined-master
COPY determined-master /usr/bin/determined-master
RUN chmod 775 /var/cache # for OpenShift/OKD compatibility

EXPOSE 8080
Expand Down

0 comments on commit 967cdb3

Please sign in to comment.