diff --git a/.github/workflows/build-push-NCA-container.yml b/.github/workflows/build-push-NCA-container.yml index ec4a49999..ebd5cbe51 100644 --- a/.github/workflows/build-push-NCA-container.yml +++ b/.github/workflows/build-push-NCA-container.yml @@ -27,12 +27,12 @@ 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: | @@ -45,8 +45,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} + tag_name: v${{ github.event.inputs.version }} + release_name: Release v${{ github.event.inputs.version }} body: | Changes in this Release: draft: false