Skip to content

Commit

Permalink
Merge pull request #6 from edx/huniafatima/migrate-dockerfile-setup
Browse files Browse the repository at this point in the history
fix: removed test code
  • Loading branch information
huniafatima-arbi authored Oct 3, 2024
2 parents eaeefa3 + fcbfd84 commit e155b42
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/push-registrar-image.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
name: Build and Push Docker Images
name: Build and Push Registrar Image

on:
workflow_dispatch:
inputs:
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:
Expand Down Expand Up @@ -58,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: [email protected]
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 }}"

0 comments on commit e155b42

Please sign in to comment.