Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit fbbeb14
Author: Ankur Banerjee <[email protected]>
Date:   Fri Sep 9 01:56:54 2022 +0100

    ci: Prerelease mode [skip ci]

commit 054e908
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Sep 9 01:34:58 2022 +0100

    chore(deps): Bump github.com/lib/pq from 1.10.6 to 1.10.7 (#29)

    Bump github.com/lib/pq from 1.10.6 to 1.10.7

    Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.6 to 1.10.7.
    - [Release notes](https://github.com/lib/pq/releases)
    - [Commits](lib/pq@v1.10.6...v1.10.7)

    ---
    updated-dependencies:
    - dependency-name: github.com/lib/pq
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 397ad5c
Author: Ankur Banerjee <[email protected]>
Date:   Fri Sep 9 05:36:50 2022 +0530

    fix: Docker image tag suffixes (#32)

    * Try another docker fix

    * Fix image tags

commit e78689d
Author: Ankur Banerjee <[email protected]>
Date:   Fri Sep 9 00:12:53 2022 +0100

    fix: Docker image suffix

commit 8ed9902
Author: Ankur Banerjee <[email protected]>
Date:   Thu Sep 8 23:58:31 2022 +0100

    fix: Docker Image tags

commit 3d4d040
Author: Ankur Banerjee <[email protected]>
Date:   Fri Sep 9 03:53:02 2022 +0530

    build: Fix network-specific Docker image tagging (#31)

    * Set Docker tags for BDJuno image

    * Added similar version-based tagging for Hasura CLI

    * Update lint.yml

    * Disable YAML linter again

commit f8f2d5b
Author: Ankur Banerjee <[email protected]>
Date:   Thu Sep 8 20:50:53 2022 +0100

    chore: Update go.sum

commit 96b5edc
Author: Ankur Banerjee <[email protected]>
Date:   Thu Sep 8 20:49:22 2022 +0100

    build: Disable LD Flags

commit 7ce8945
Author: Ankur Banerjee <[email protected]>
Date:   Fri Sep 9 01:08:04 2022 +0530

    feat: Semantic release config (#30)

    * Update README.md

    * Update .releaserc.json

    * Update package-lock.json

    * Update .releaserc.json

    * Fixed tag version

    * Update .releaserc.json
  • Loading branch information
ankurdotb committed Sep 9, 2022
1 parent 6f7f897 commit 3733110
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ jobs:
images: registry.digitalocean.com/${{ env.IMAGE_NAME }}
flavor: |
latest=auto
prefix=${{ steps.set-network.outputs.NETWORK_NAME }}-,onlatest=true
tags: |
${{ steps.set-network.outputs.NETWORK_NAME }}-latest
type=semver,pattern={{version}},value=${{ needs.release-binary.outputs.VERSION }}
labels: |
org.opencontainers.image.title="BDJuno for cheqd network"
Expand All @@ -129,16 +129,12 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}

- name: Push BDJuno image
run: |
docker push registry.digitalocean.com/${{ env.IMAGE_NAME }}:${{ steps.set-network.outputs.NETWORK_NAME }}-latest
docker push registry.digitalocean.com/${{ env.IMAGE_NAME }}:${{ needs.release-binary.outputs.VERSION }}
run: docker image push --all-tags registry.digitalocean.com/${{ env.IMAGE_NAME }}

release-hasuracli:
name: "Hasura CLI Docker Image"
runs-on: ubuntu-latest
env:
IMAGE_NAME: ${{ github.repository }}
COMMIT_SHA: ${{ github.sha }}
needs: release-binary

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -171,9 +167,15 @@ jobs:
uses: docker/metadata-action@v4
with:
images: registry.digitalocean.com/cheqd/hasuracli
flavor: |
latest=auto
prefix=${{ steps.set-network.outputs.NETWORK_NAME }}-,onlatest=true
tags: |
${{ steps.set-network.outputs.NETWORK_NAME }}-latest
type=semver,pattern={{version}},value=${{ needs.release-binary.outputs.VERSION }}
labels: |
org.opencontainers.image.title="Hasura CLI for BDJuno"
org.opencontainers.image.description="Standalone Hasura CLI for cheqd network BDJuno configuration"
org.opencontainers.image.source="https://github.com/cheqd/bdjuno"
org.opencontainers.image.vendor="Cheqd Foundation Limited"
org.opencontainers.image.created={{date 'dddd, MMMM Do YYYY, h:mm:ss a'}}
org.opencontainers.image.documentation="https://docs.cheqd.io/node"
Expand All @@ -189,5 +191,4 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}

- name: Push Hasura CLI image
run: |
docker push registry.digitalocean.com/cheqd/hasuracli:${{ steps.set-network.outputs.NETWORK_NAME }}-latest
run: docker image push --all-tags registry.digitalocean.com/cheqd/hasuracli
10 changes: 5 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project_name: bdjuno
project_name: cheqd-bdjuno

env:
- GO111MODULE=on
Expand All @@ -20,9 +20,9 @@ builds:
flags:
- -mod=readonly
- -trimpath
ldflags:
- -X github.com/forbole/juno/v3/cmd.Version={{ .Version }}
- -X github.com/forbole/juno/v3/cmd.Commit={{ .Commit }}
# ldflags:
# - -X github.com/forbole/juno/v3/cmd.Version={{ .Version }}
# - -X github.com/forbole/juno/v3/cmd.Commit={{ .Commit }}

archives:
- id: release-archives
Expand Down Expand Up @@ -68,7 +68,7 @@ release:
name: bdjuno

draft: false
prerelease: true
prerelease: auto
mode: append
header: |
# Release Notes for {{.ProjectName}} v{{.Version}}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/go-co-op/gocron v1.17.0
github.com/gogo/protobuf v1.3.3
github.com/jmoiron/sqlx v1.3.5
github.com/lib/pq v1.10.6
github.com/lib/pq v1.10.7
github.com/pelletier/go-toml v1.9.5
github.com/prometheus/client_golang v1.13.0
github.com/proullon/ramsql v0.0.0-20181213202341-817cee58a244
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -794,8 +794,8 @@ github.com/lib/pq v1.8.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/lib/pq v1.9.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/lib/pq v1.10.4/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/lib/pq v1.10.6 h1:jbk+ZieJ0D7EVGJYpL9QTz7/YW6UHbmdnZWYyK5cdBs=
github.com/lib/pq v1.10.6/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/lib/pq v1.10.7 h1:p7ZhMD+KsSRozJr34udlUrhboJwWAgCg34+/ZZNvZZw=
github.com/lib/pq v1.10.7/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/libp2p/go-buffer-pool v0.0.2 h1:QNK2iAFa8gjAe1SPz6mHSMuCcjs+X1wlHzeOSqcmlfs=
github.com/libp2p/go-buffer-pool v0.0.2/go.mod h1:MvaB6xw5vOrDl8rYZGLFdKAuk/hRoRZd1Vi32+RXyFM=
github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM=
Expand Down

0 comments on commit 3733110

Please sign in to comment.