Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
walnuts1018 committed Sep 22, 2023
1 parent fd34591 commit 4049f9d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
ImageBuild:
name: Build Wakatime-to-slack-status Custom Docker Image (amd64 & arm64)
name: Build Wakatime-to-slack-profile Custom Docker Image (amd64 & arm64)
runs-on: ubuntu-latest
steps:
- name: Slack notification of build start
Expand All @@ -16,7 +16,7 @@ jobs:
SLACK_USERNAME: GitHub Actions
SLACK_COLOR: "#4381de"
SLACK_ICON: "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png"
SLACK_TITLE: Start Wakatime-to-slack-status image build
SLACK_TITLE: Start Wakatime-to-slack-profile image build
SLACK_MESSAGE: |
Run number : #${{ github.run_number }}
Expand Down Expand Up @@ -57,8 +57,8 @@ jobs:
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
tags: |
ghcr.io/walnuts1018/wakatime-to-slack-status:latest
ghcr.io/walnuts1018/wakatime-to-slack-status:${{ env.ImageTag }}
ghcr.io/walnuts1018/wakatime-to-slack-profile:latest
ghcr.io/walnuts1018/wakatime-to-slack-profile:${{ env.ImageTag }}
- name: Build and push Docker images
uses: docker/[email protected]
Expand All @@ -68,8 +68,8 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/walnuts1018/wakatime-to-slack-status:test-latest
ghcr.io/walnuts1018/wakatime-to-slack-status:test-${{ github.sha }}-${{ github.run_number }}
ghcr.io/walnuts1018/wakatime-to-slack-profile:test-latest
ghcr.io/walnuts1018/wakatime-to-slack-profile:test-${{ github.sha }}-${{ github.run_number }}
SucceessNotification:
if: ${{ success() }}
Expand All @@ -83,7 +83,7 @@ jobs:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_USERNAME: GitHub Actions
SLACK_ICON: "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png"
SLACK_TITLE: Wakatime-to-slack-status id:mage build succeeded
SLACK_TITLE: Wakatime-to-slack-profile id:mage build succeeded
SLACK_MESSAGE: |
Run number : #${{ github.run_number }}
Image tag : ${{ github.sha }}-${{ github.run_number }}
Expand All @@ -101,6 +101,6 @@ jobs:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_USERNAME: GitHub Actions
SLACK_ICON: "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png"
SLACK_TITLE: Wakatime-to-slack-status image build failed
SLACK_TITLE: Wakatime-to-slack-profile image build failed
SLACK_COLOR: danger
SLACK_MESSAGE: 'Run number : #${{ github.run_number }}'

0 comments on commit 4049f9d

Please sign in to comment.