-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
21 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,27 +22,28 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
|
||
- name: Build the Docker image | ||
run: docker build -t dustico/dusti-lock:${{ steps.semantic_release_info.outputs.git_tag }} . | ||
if: ${{ steps.semantic_release_info.outputs.git_tag }} | ||
run: docker build -t checkmarx/dustilock:${{ steps.semantic_release_info.outputs.git_tag }} . | ||
|
||
- name: Tag version | ||
if: ${{ steps.semantic_release_info.outputs.git_tag }} | ||
id: tag_version | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "Dustico DevOps" | ||
git tag ${{ steps.semantic_release_info.outputs.git_tag }} | ||
- name: Push changes | ||
uses: ad-m/[email protected] | ||
with: | ||
github_token: ${{ github.token }} | ||
tags: true | ||
git push | ||
echo ::set-output name=latest_commit_hash::$(git rev-parse HEAD) | ||
- name: Create GitHub release | ||
if: ${{ steps.semantic_release_info.outputs.git_tag }} | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
tag_name: ${{ steps.semantic_release_info.outputs.git_tag }} | ||
release_name: ${{ steps.semantic_release_info.outputs.git_tag }} | ||
body: ${{ steps.semantic_release_info.outputs.notes }} | ||
commitish: ${{ steps.tag_version.outputs.latest_commit_hash }} | ||
draft: false | ||
prerelease: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
dusti-lock | ||
dustilock | ||
.idea | ||
tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters