Skip to content

Commit

Permalink
Fix bulid workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mizutani committed Mar 6, 2022
1 parent 6619696 commit fdfd702
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ jobs:
run: docker tag ${{ env.GITHUB_IMAGE_LATEST }} ${{ env.GITHUB_IMAGE_NAME }}
- name: Push image
run: docker push ${{ env.GITHUB_IMAGE_NAME }}
- uses: actions/checkout@v2
- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_MESSAGE: "Published built ghnotify image: ${{ env.GITHUB_IMAGE_NAME }}"

release:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -59,4 +64,4 @@ jobs:
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_MESSAGE: "Published built ghnotify image ${{ github.sha }}"
SLACK_MESSAGE: "Published built ghnotify image: ${{ steps.tag.outputs.tag }}"

0 comments on commit fdfd702

Please sign in to comment.