Skip to content

feat(nft): total nft holders (#28) #28

feat(nft): total nft holders (#28)

feat(nft): total nft holders (#28) #28

Workflow file for this run

name: release-please
on:
push:
branches:
- main
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release-created: ${{ steps.release.outputs['release_created'] }}
tag-name: ${{ steps.release.outputs['tag_name'] }}
version: ${{ steps.release.outputs['version'] }}
pr: ${{ steps.release.outputs['pr'] }}
steps:
- name: Run release-please
id: release
uses: google-github-actions/release-please-action@v4
with:
release-type: simple
- name: Show output from release-please
if: steps.release.outputs.releases_created
env:
RELEASE_PLEASE_OUTPUT: ${{ toJSON(steps.release.outputs) }}
run: echo "${RELEASE_PLEASE_OUTPUT}" | jq
publish:
if: needs.release-please.outputs.release-created
runs-on: ubuntu-latest
needs: release-please
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ needs.release-please.outputs.tag-name }}
- name: Import secrets
uses: hashicorp/[email protected]
with:
url: https://vault.fluence.dev
path: jwt/github
role: ci
method: jwt
jwtGithubAudience: "https://github.com/fluencelabs"
jwtTtl: 300
secrets: |
kv/hub.docker.com/fluencebot username | DOCKER_HUB_USERNAME ;
kv/hub.docker.com/fluencebot password | DOCKER_HUB_PASSWORD ;
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ env.DOCKER_HUB_USERNAME }}
password: ${{ env.DOCKER_HUB_PASSWORD }}
- name: Build and push container
uses: docker/build-push-action@v6
with:
context: .
push: true
file: Dockerfile
cache-from: type=gha
cache-to: type=gha,mode=max
tags: |
fluencelabs/fluence-network-exporter:latest
fluencelabs/fluence-network-exporter:${{ needs.release-please.outputs.version }}