Skip to content

Commit

Permalink
Merge pull request #530 from HewlettPackard/dockerimage_version
Browse files Browse the repository at this point in the history
Changes for Dockerimage version as per GIT release
  • Loading branch information
chebroluharika committed Sep 14, 2020
2 parents cdd0e3d + 123c1d4 commit 25e4d2d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Docker Image CI

on:
release:
types:
- created
jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
name: Check out code
- run: |
echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
- name: Login to Docker Hub
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
- name: Build the tagged Docker image
run: docker build . --file Dockerfile --tag hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:${{ env.RELEASE_VERSION }}-OV5.4
- name: Push the tagged Docker image
run: docker push hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:${{ env.RELEASE_VERSION }}-OV5.4
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
## v5.8.0 (unreleased)

#### Breaking Changes
Enhancement made in this version breaks the previous version of the SDK.
From this version onwards, oneview-ansible library refers to hpeOneView module.
- Enhancement made in this version breaks the previous version of the SDK.
- From this version onwards, oneview-ansible library refers to hpeOneView module.

#### Major changes
- Added support for automatic publish of Docker Image when there is a new release in GitHub

#### Bug fixes & Enhancements
- [#565] (https://github.com/HewlettPackard/oneview-ansible/issues/565) Problem creating / changing a network_set
Expand Down

0 comments on commit 25e4d2d

Please sign in to comment.