-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
cff6f92
commit c701e1e
Showing
2 changed files
with
27 additions
and
25 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 |
---|---|---|
|
@@ -45,15 +45,17 @@ jobs: | |
tags: edxops/ecommerce-dev:${{ steps.get-tag-name.outputs.result }} | ||
platforms: linux/amd64,linux/arm64 | ||
|
||
- name: Send failure notification | ||
if: failure() | ||
uses: dawidd6/action-send-mail@v3 | ||
with: | ||
server_address: email-smtp.us-east-1.amazonaws.com | ||
server_port: 465 | ||
username: ${{secrets.edx_smtp_username}} | ||
password: ${{secrets.edx_smtp_password}} | ||
subject: Push Image to docker.io/edxops failed in ecommerce | ||
to: [email protected] | ||
from: github-actions <[email protected]> | ||
body: Push Image to docker.io/edxops for ecommerce failed! For details see "github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" | ||
|
||
# Commenting this as we don't have email for red ventures yet | ||
# - name: Send failure notification | ||
# if: failure() | ||
# uses: dawidd6/action-send-mail@v3 | ||
# with: | ||
# server_address: email-smtp.us-east-1.amazonaws.com | ||
# server_port: 465 | ||
# username: ${{secrets.edx_smtp_username}} | ||
# password: ${{secrets.edx_smtp_password}} | ||
# subject: Push Image to docker.io/edxops failed in ecommerce | ||
# to: [email protected] | ||
# from: github-actions <[email protected]> | ||
# body: Push Image to docker.io/edxops for ecommerce failed! For details see "github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" |
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 |
---|---|---|
|
@@ -43,16 +43,16 @@ jobs: | |
push: true | ||
target: dev | ||
tags: edxops/registrar-dev:${{ steps.get-tag-name.outputs.result }} | ||
# Commenting this as we don't have email for red ventures yet | ||
# - name: Send failure notification | ||
# if: failure() | ||
# uses: dawidd6/action-send-mail@v3 | ||
# with: | ||
# server_address: email-smtp.us-east-1.amazonaws.com | ||
# server_port: 465 | ||
# username: ${{secrets.edx_smtp_username}} | ||
# password: ${{secrets.edx_smtp_password}} | ||
# subject: Push Image to docker.io/edxops failed in registrar | ||
# to: [email protected] | ||
# from: github-actions <[email protected]> | ||
# body: Push Image to docker.io/edxops for registrar failed! For details see "github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" | ||
|
||
- name: Send failure notification | ||
if: failure() | ||
uses: dawidd6/action-send-mail@v3 | ||
with: | ||
server_address: email-smtp.us-east-1.amazonaws.com | ||
server_port: 465 | ||
username: ${{secrets.edx_smtp_username}} | ||
password: ${{secrets.edx_smtp_password}} | ||
subject: Push Image to docker.io/edxops failed in registrar | ||
to: [email protected] | ||
from: github-actions <[email protected]> | ||
body: Push Image to docker.io/edxops for registrar failed! For details see "github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" |