Merge pull request #160 from BoostryJP/bump-golang #48
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build (testnet Validator) | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
build_and_push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.CR_PAT }} | |
- name: Get tag name | |
id: get_tag_name | |
run: echo VERSION=${GITHUB_REF/refs\/tags\//} >> $GITHUB_OUTPUT | |
# ibet testnet (Validator) | |
- name: Build and Push (ibet testnet / Validator) | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./test-network/validator | |
file: ./test-network/validator/Dockerfile | |
no-cache: true | |
push: true | |
tags: ghcr.io/boostryjp/ibet-testnet/validator:${{ steps.get_tag_name.outputs.VERSION }} |