Temporary rolled back prod image name. (#36) #22
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 and release production image | |
on: | |
push: | |
branches: | |
- main | |
env: | |
IMAGE_NAME: forta-finding-forwarder | |
IMAGE_TAG: stable | |
jobs: | |
build-and-push: | |
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 }} |