Skip to content

Commit

Permalink
Temporarily disable some release steps to try and fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
coderpatros committed May 28, 2020
1 parent b708e81 commit 27c4474
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,28 @@ jobs:
dotnet pack CycloneDX/CycloneDX.csproj --configuration Release --version-suffix $VERSION --output $OUTPUT
docker build -f Dockerfile --build-arg VERSION=$VERSION -t $REPO:$VERSION -t $REPO:latest .
- name: Publish package
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
run: |
dotnet nuget push --source https://api.nuget.org/v3/index.json --api-key "$NUGET_API_KEY" ${{ steps.package_release.outputs.package_filename }}
# - name: Publish package
# env:
# NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
# run: |
# dotnet nuget push --source https://api.nuget.org/v3/index.json --api-key "$NUGET_API_KEY" ${{ steps.package_release.outputs.package_filename }}

- name: Publish docker image
env:
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
run: |
REPO=cyclonedx/cyclonedx-dotnet
docker login --username coderpatros --password "$DOCKER_TOKEN"
docker push $REPO:latest
docker push $REPO:${{ steps.package_release.outputs.version }}
# - name: Publish docker image
# env:
# DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
# run: |
# REPO=cyclonedx/cyclonedx-dotnet
# docker login --username coderpatros --password "$DOCKER_TOKEN"
# docker push $REPO:latest
# docker push $REPO:${{ steps.package_release.outputs.version }}

- name: Create github release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ steps.package_release.outputs.version }}
release_name: Release ${{ steps.package_release.outputs.version }}
draft: false
prerelease: false
Expand Down

0 comments on commit 27c4474

Please sign in to comment.