-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(ci): Correctly pass Version to Docker builds and remove Rele…
…ase Phase var (#328) * refactor(docker): Consolidate on single Dockerfile Also correctly pass Version & Release Phase values via ldflags to `go build` so `spin --version` outputs correct values. * chore(ci): Remove redundant build.sh file Only `./Dockerfile` was calling `build.sh` and it doesn't in previous commit. Future CI jobs can run `go build` directly supplying OS & ARCH matrix and LDFLAGS. For local development we can simply run `go build`. * refactor(build): Remove Release Phase and only use Version `Version` is SemVer so we can add release candidate and other designations as required. Continue to use `dev` as default version, overridable by building with ldflag set.
- Loading branch information
1 parent
6ccf799
commit 9e12725
Showing
4 changed files
with
5 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters