From 0d838eb254c8b610de71314cf0aa9bd83ed81755 Mon Sep 17 00:00:00 2001 From: Hunia Fatima Date: Thu, 3 Oct 2024 18:38:07 +0500 Subject: [PATCH 1/2] fix: removed test code --- .github/workflows/push-registrar-image.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/push-registrar-image.yaml b/.github/workflows/push-registrar-image.yaml index 4a1c482..9d9bd6d 100644 --- a/.github/workflows/push-registrar-image.yaml +++ b/.github/workflows/push-registrar-image.yaml @@ -1,4 +1,4 @@ -name: Build and Push Docker Images +name: Build and Push Registrar Image on: workflow_dispatch: @@ -6,16 +6,11 @@ on: branch: description: "Target branch from which the source dockerfile from image will be sourced" -# Added for testing purposes. Will remove once the PR is finalised - pull_request: - branches: - - '**' - schedule: - cron: "0 4 * * 1-5" # UTC Time jobs: - build-and-push-docker-image: + build-and-push-image: runs-on: ubuntu-latest steps: From fcbfd846c8f52ce99a83313a5cded9aa7d768e5d Mon Sep 17 00:00:00 2001 From: Hunia Fatima Date: Thu, 3 Oct 2024 18:56:09 +0500 Subject: [PATCH 2/2] fix: removed test code --- .github/workflows/push-registrar-image.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/push-registrar-image.yaml b/.github/workflows/push-registrar-image.yaml index 9d9bd6d..fb70221 100644 --- a/.github/workflows/push-registrar-image.yaml +++ b/.github/workflows/push-registrar-image.yaml @@ -53,7 +53,6 @@ jobs: username: ${{secrets.edx_smtp_username}} password: ${{secrets.edx_smtp_password}} subject: Push Image to docker.io/edxops failed in registrar - # Currently using this email for testing purposes. Will change it once finalised - to: hunia.fatima@arbisoft.com + to: team-cosmonauts@edx.org from: github-actions body: Push Image to docker.io/edxops for registrar failed! For details see "github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"