Skip to content

Update README.md

Update README.md #26

Workflow file for this run

name: Release
on:
push:
branches:
- main
env:
REGISTRY_HOSTNAME: oda2
IMAGE_NAME: ibmcloud-cli
jobs:
build:
name: Build Image and Publish
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Set output
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: oda2/ibmcloud-cli:latest