Skip to content

Commit c512561

Browse files
eu horizons funding readme update (#41)
* updating readme * updated readme with new repository name, updated workflow with lowercasing logic * added EU flag * replacing flag image with 🇪🇺 tag * added missing dollar sign in repo_lower
1 parent 817d2b7 commit c512561

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/docker-image.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,16 @@ jobs:
2727
username: ${{ github.repository_owner }}
2828
password: ${{ secrets.GITHUB_TOKEN }}
2929

30+
- name: Set lowercase repository name
31+
run: |
32+
echo "REPO_LOWER=${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV
33+
3034
- name: Build and push Docker image
3135
id: docker_build
3236
uses: docker/build-push-action@v6
3337
with:
3438
context: .
3539
push: true
36-
tags: ghcr.io/${{ github.repository }}:latest
40+
tags: ghcr.io/${{ env.REPO_LOWER }}:latest
3741
cache-from: type=gha
3842
cache-to: type=gha,mode=max

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Irrigation service
22

3+
:eu: *"This service was created in the context of OpenAgri project (https://horizon-openagri.eu/). OpenAgri has received funding from the EU’s Horizon Europe research and innovation programme under Grant Agreement no. 101134083."*
34
# Description
45

56
The OpenAgri Irrigation service provides the calculation of referent evapotranspiration (ETo) as well as the analysis of \
@@ -65,4 +66,5 @@ For a more detailed view of the APIs, checkout [API.md](API.md).
6566
Please contact the maintainer of this repository.
6667

6768
# License
68-
[European Union Public License 1.2](https://github.com/openagri-eu/irrigation-management/blob/main/LICENSE)
69+
This project code is licensed under the EUPL 1.2 license, see the [LICENSE](https://github.com/agstack/OpenAgri-IrrigationManagement/blob/main/LICENSE) file for more details.
70+
Please note that each service may have different licenses, which can be found their specific source code repository.

0 commit comments

Comments
 (0)