Skip to content

Merge branch 'main' of github.com:NibiruChain/compounder #2

Merge branch 'main' of github.com:NibiruChain/compounder

Merge branch 'main' of github.com:NibiruChain/compounder #2

Workflow file for this run

on:
push:
branches:
- main
tags:
- "*"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Get version
id: get_version
uses: battila7/get-version-action@v2
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
platforms: linux/amd64
tags: ghcr.io/nibiruchain/compounder:latest,ghcr.io/nibiruchain/compounder:${{ steps.get_version.outputs.version-without-v }}