Skip to content

Renamed image.

Renamed image. #32

---
name: Build and release production image
on:
push:
branches:
- main
env:
IMAGE_NAME: onchain-mon
IMAGE_TAG: stable
jobs:
build-and-push:
name: Build and push image
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Setup buildx
id: buildx
uses: docker/[email protected]
- name: Log in to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build docker image
id: docker_build_candidate
uses: docker/[email protected]
with:
push: true
tags: lidofinance/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
builder: ${{ steps.buildx.outputs.name }}