Skip to content

Commit

Permalink
Update xroute-action URL and message handling in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mizutani committed Jan 19, 2025
1 parent f599cae commit 4861589
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
packages: write

Expand Down Expand Up @@ -69,8 +70,9 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64
- uses: secmon-lab/github-actions/notify@main
- uses: m-mizutani/xroute-action@main
with:
url: ${{ vars.XROUTE_URL }}
message: "Build and pushed image: ${{ env.GITHUB_IMAGE_NAME }}"

release-ghcr:
Expand Down Expand Up @@ -102,6 +104,7 @@ jobs:
run: docker push "${{ env.GITHUB_IMAGE_REPO }}:${{ steps.tag.outputs.tag }}"
- name: Push Docker image (latest)
run: docker push "${{ env.GITHUB_IMAGE_REPO }}:latest"
- uses: secmon-lab/github-actions/notify@main
- uses: m-mizutani/xroute-action@main
with:
message: "Build and pushed image: ${{ env.GITHUB_IMAGE_REPO }}"
url: ${{ vars.XROUTE_URL }}
message: "Build and pushed image: ${{ env.GITHUB_IMAGE_NAME }}"

0 comments on commit 4861589

Please sign in to comment.