-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed versioning in nucleus and synapse binaries (#189)
* added support for versioning * makefile formatting
- Loading branch information
Showing
9 changed files
with
33 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,8 @@ jobs: | |
tags: ${{ env.NUCLEUS_TAGS }} | ||
file: build/nucleus/Dockerfile | ||
push: true | ||
build-args: | | ||
VERSION=${{ steps.tag_version.outputs.new_tag }} | ||
- name: Build and push Synapse images | ||
uses: docker/[email protected] | ||
|
@@ -67,3 +69,5 @@ jobs: | |
tags: ${{ env.SYNAPSE_TAGS }} | ||
file: build/synapse/Dockerfile | ||
push: true | ||
build-args: | | ||
VERSION=${{ steps.tag_version.outputs.new_tag }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,6 +110,8 @@ jobs: | |
tags: ${{ env.NUCLEUS_TAGS }} | ||
file: build/nucleus/Dockerfile | ||
push: true | ||
build-args: | | ||
VERSION=${{ steps.tag_version.outputs.new_tag }} | ||
- name: Build and push Synapse images | ||
uses: docker/[email protected] | ||
|
@@ -118,3 +120,6 @@ jobs: | |
tags: ${{ env.SYNAPSE_TAGS }} | ||
file: build/synapse/Dockerfile | ||
push: true | ||
build-args: | | ||
VERSION=${{ steps.tag_version.outputs.new_tag }} | ||
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 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 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
package global | ||
|
||
const ( | ||
// NUCLEUS_BINARY_VERSION Nucleus version | ||
NUCLEUS_BINARY_VERSION = "0.0.1" | ||
// SYNAPSE_BINARY_VERSION Synapse version | ||
SYNAPSE_BINARY_VERSION = "0.0.1" | ||
import "os" | ||
|
||
var ( | ||
// NucleusBinaryVersion Nucleus version | ||
NucleusBinaryVersion = os.Getenv("VERSION") | ||
// SynapseBinaryVersion Synapse version | ||
SynapseBinaryVersion = os.Getenv("VERSION") | ||
) |