From 23b9b250cb26793aace19be6c2326b394f7f79c3 Mon Sep 17 00:00:00 2001 From: Tanya Date: Tue, 24 Aug 2021 21:22:14 +0300 Subject: [PATCH] Uncommenting the actual release creation --- .../workflows/build-push-NCA-container.yml | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-push-NCA-container.yml b/.github/workflows/build-push-NCA-container.yml index fae743fab..43f600359 100644 --- a/.github/workflows/build-push-NCA-container.yml +++ b/.github/workflows/build-push-NCA-container.yml @@ -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 }} @@ -50,5 +48,5 @@ jobs: release_name: Release ${{ github.ref }} body: | Changes in this Release: - draft: true - prerelease: true \ No newline at end of file + draft: false + prerelease: false \ No newline at end of file