Skip to content

Commit

Permalink
Automate annual review notifications (#1102)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Castaño Arteaga <[email protected]>
  • Loading branch information
tegioz authored May 25, 2023
1 parent 255b6d7 commit c580ba8
Show file tree
Hide file tree
Showing 29 changed files with 1,682 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ updates:
schedule:
interval: "weekly"
day: "wednesday"
- package-ecosystem: "docker"
directory: "/clomonitor-notifier"
schedule:
interval: "weekly"
day: "wednesday"
- package-ecosystem: "docker"
directory: "/clomonitor-registrar"
schedule:
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,33 @@ jobs:
docker build -f clomonitor-linter/Dockerfile -t public.ecr.aws/g6m3a0y9/linter:latest .
docker push public.ecr.aws/g6m3a0y9/linter:latest
build-notifier-image:
if: github.ref == 'refs/heads/main'
needs:
- linter-backend
- tests-database
- tests-backend
- tests-frontend
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2
- name: Login to AWS ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
- name: Build and push image
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
run: |
docker build -f clomonitor-notifier/Dockerfile -t $ECR_REGISTRY/notifier:$GITHUB_SHA .
docker push $ECR_REGISTRY/notifier:$GITHUB_SHA
build-registrar-image:
if: github.ref == 'refs/heads/main'
needs:
Expand Down
Loading

0 comments on commit c580ba8

Please sign in to comment.