Skip to content

Commit

Permalink
chore: update step reference in manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
deowk committed Apr 26, 2024
1 parent 36ff1d0 commit 46e0731
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/node-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
required: false
type: string
default: "mempool"
TAG:
required: false
type: string
default: 'latest'

env:
REGISTRY_IMAGE: ${{ inputs.REGISTRY }}/aiblockofficial/node-${{ inputs.NODE_TYPE }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/node-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
jobs:
create-and-push-manifest:
outputs:
json: ${{ steps.matrix.outputs.json }}
json: ${{ steps.meta.outputs.json }}
runs-on: ubuntu-latest
steps:
- name: Download digests
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,20 @@ permissions:
security-events: write

jobs:
build:
get-version:
runs-on: ubuntu-latest
outputs:
tag: ${{ steps.vars.outputs.tag }}
steps:
- uses: actions/checkout@v2

- name: Set Version
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT

- uses: aiblockofficial/workflows/.github/workflows/node-build.yml@main
with:
REGISTRY: ${{ vars.REGISTRY }}
REPOSITORY: ${{ vars.REPOSITORY }}
TAG: ${{ steps.vars.outputs.tag }}
NODE_TYPE: "miner"
release:
needs: get-version
uses: ./.github/workflows/node-build.yml
with:
REGISTRY: ${{ vars.REGISTRY }}
TAG: ${{ needs.get-version.outputs.tag }}
NODE_TYPE: "miner"

0 comments on commit 46e0731

Please sign in to comment.