Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 20 additions & 7 deletions .github/workflows/build_testnet_mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and Push Testnet and Mainnet Images

on:
push:
branches: [ main ]
branches: [main]
# also allow manual runs
workflow_dispatch:

Expand All @@ -23,17 +23,17 @@ jobs:
id: version
uses: PaulHatch/semantic-version@v5.4.0
with:
tag_prefix: 'v'
major_pattern: '(MAJOR)'
minor_pattern: '(feat|feature)'
version_format: '${major}.${minor}.${patch}'
tag_prefix: "v"
major_pattern: "(MAJOR)"
minor_pattern: "(feat|feature)"
version_format: "${major}.${minor}.${patch}"

build:
runs-on: ubuntu-latest
needs: [generate-version]

permissions:
contents: read
contents: write
packages: write

steps:
Expand Down Expand Up @@ -64,6 +64,7 @@ jobs:
ratio1/explorer:testnet

- name: Build & Push Mainnet Image
id: build_mainnet_image
uses: docker/build-push-action@v5
with:
context: .
Expand All @@ -77,4 +78,16 @@ jobs:
tags: |
ratio1/explorer:mainnet


- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ needs.generate-version.outputs.version_tag }}
name: v${{ needs.generate-version.outputs.version }}
body: |
Docker image details:
- tag: ratio1/dapp:mainnet
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Docker image tag in the release body is incorrect. It says "ratio1/dapp:mainnet" but should be "ratio1/explorer:mainnet" to match the actual image being built and pushed in line 79.

Suggested change
- tag: ratio1/dapp:mainnet
- tag: ratio1/explorer:mainnet

Copilot uses AI. Check for mistakes.
- digest: ${{ steps.build_mainnet_image.outputs.digest }}
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}