Merge pull request #157 from BoostryJP/bump-packages #30
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 (localnet 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 ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | |
# local network (Validator) | |
- name: Build and Push (local network / Validator) | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./local-network/validator | |
file: ./local-network/validator/Dockerfile | |
no-cache: true | |
push: true | |
tags: ghcr.io/boostryjp/ibet-localnet/validator:${{ steps.get_tag_name.outputs.VERSION }} |