Skip to content

Commit

Permalink
add ReleaseBot Discord Webhook to Publish Docker Image action
Browse files Browse the repository at this point in the history
  • Loading branch information
AmruthPillai committed May 10, 2024
1 parent c15d9f7 commit 7a8b5d0
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/publish-docker-image.yml
Expand Up @@ -21,7 +21,6 @@ jobs:
version: ${{ steps.version.outputs.version }}

strategy:
max-parallel: 1
matrix:
platform:
- linux/amd64
Expand Down Expand Up @@ -53,10 +52,6 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.3.0
with:
driver: cloud
version: "lab:latest"
endpoint: "amruthpillai/default"

- name: Extract Docker Metadata
id: meta
Expand Down Expand Up @@ -131,10 +126,6 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.3.0
with:
driver: cloud
version: "lab:latest"
endpoint: "amruthpillai/default"

- name: Extract Docker Metadata
id: meta
Expand All @@ -161,3 +152,13 @@ jobs:
repository: ${{ github.repository }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

- uses: sarisia/actions-status-discord@v1.14.3
if: always()
with:
username: ReleaseBot
webhook: ${{ secrets.DISCORD_WEBHOOK }}
status: ${{ job.status }}
title: "Release `${{ steps.meta.outputs.version }}`"
description: "A new version of Reactive Resume just dropped! 🚀"
url: "https://github.com/AmruthPillai/Reactive-Resume"

0 comments on commit 7a8b5d0

Please sign in to comment.