Skip to content

add send email to admin when user upload new entry #147

add send email to admin when user upload new entry

add send email to admin when user upload new entry #147

name: Build Docker Image
on:
pull_request:
branches:
- master
push:
branches:
- master
concurrency:
group: build-${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker image
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
push: true
tags: ghcr.io/deltablot/eln.community:latest
build-args: |
VERSION=${{ github.ref_name }}
cache-from: type=gha
cache-to: type=gha,mode=max