Skip to content

Commit

Permalink
Uncommenting the actual release creation
Browse files Browse the repository at this point in the history
  • Loading branch information
tanyaveksler committed Aug 24, 2021
1 parent b7d1b8c commit 23b9b25
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/build-push-NCA-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,19 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# - name: Build and push Docker image
# uses: docker/build-push-action@v2
# with:
# context: .
# push: true
# tags: ghcr.io/ibm/nca:${{ github.event.inputs.version }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ghcr.io/ibm/nca:${{ github.event.inputs.version }}

- name: Create and push a new git tag
run: |
echo 'git push origin v${{ github.event.inputs.version }}'
echo 'the release is: ${{ github.ref }}'
# git tag -a v${{ github.event.inputs.version }} -m "Version ${{ github.event.inputs.version }}"
# git push origin v${{ github.event.inputs.version }}
git tag -a v${{ github.event.inputs.version }} -m "Version ${{ github.event.inputs.version }}"
git push origin v${{ github.event.inputs.version }}
- name: Create Release
id: create_release
- name: Create a github release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -50,5 +48,5 @@ jobs:
release_name: Release ${{ github.ref }}
body: |
Changes in this Release:
draft: true
prerelease: true
draft: false
prerelease: false

0 comments on commit 23b9b25

Please sign in to comment.