Skip to content

I2::CI::Publish

I2::CI::Publish #5

name: I2::CI::Publish
on:
workflow_dispatch:
inputs:
IROHA2_CI_DOCKERFILE:
required: true
default: Dockerfile.build
jobs:
dockerhub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push iroha2-ci image
uses: docker/build-push-action@v6
with:
push: true
tags: hyperledger/iroha2-ci:nightly-2024-04-18
labels: commit=${{ github.sha }}
file: ${{ github.event.inputs.IROHA2_CI_DOCKERFILE }}
# This context specification is required
context: .