diff --git a/.github/workflows/ci.yaml b/.github/workflows/build.yaml similarity index 94% rename from .github/workflows/ci.yaml rename to .github/workflows/build.yaml index 8da0d3f..764f9f2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/build.yaml @@ -1,4 +1,4 @@ -name: ci +name: build on: [push] jobs: build: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..764f9f2 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,11 @@ +name: build +on: [push] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-go@v1 + with: + go-version: '1.13' + - run: make build \ No newline at end of file diff --git a/metactl/.make/make.sh b/metactl/.make/make.sh index c930db7..71383d4 100644 --- a/metactl/.make/make.sh +++ b/metactl/.make/make.sh @@ -3,8 +3,6 @@ set -eox pipefail function build { - export GO111MODULE=on - time go build -i -o dist/metactl cmd/metactl/main.go ls -lah dist/metactl } diff --git a/metamate/.make/make.sh b/metamate/.make/make.sh index 5cec480..4aa4358 100644 --- a/metamate/.make/make.sh +++ b/metamate/.make/make.sh @@ -41,5 +41,5 @@ function release { --tag metamatex/metamate:$TAG \ . - docker push metamatex/metamate:latest + docker push metamatex/metamate } \ No newline at end of file