-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The branch with all the images (#31)
Update of images: 26.01.2023 * OK --------- Co-authored-by: Andrii Verbytskyi <[email protected]> Co-authored-by: Andrii Verbytskyi <[email protected]>
- Loading branch information
1 parent
234a374
commit 93c36bd
Showing
34 changed files
with
3,230 additions
and
350 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: publish | ||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: "0 7 * * 2" | ||
jobs: | ||
build-high-x-parton-pdf-inference-docker-image: | ||
runs-on: ubuntu-latest | ||
name: Build high-x-parton-pdf-inference Docker image | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 2 | ||
- name: Check if the Docker file was changed | ||
id: changed-docker-files | ||
uses: tj-actions/changed-files@v38 | ||
with: | ||
files: Dockerfile | ||
|
||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Build the high-x-parton-pdf-inference Docker image on the change of Dockerfile | ||
if: steps.changed-docker-files.outputs.any_changed == 'true' | ||
run: | | ||
docker build . --tag ghcr.io/andriish/high-x-parton-pdf-inference:latest | ||
docker run ghcr.io/andriish/high-x-parton-pdf-inference:latest | ||
docker push ghcr.io/andriish/high-x-parton-pdf-inference | ||
- name: Build the high-x-parton-pdf-inference Docker image on schedule | ||
if: ${{ github.event_name == 'schedule' }} | ||
run: | | ||
docker build . --tag ghcr.io/andriish/high-x-parton-pdf-inference:latest | ||
docker run ghcr.io/andriish/high-x-parton-pdf-inference:latest | ||
docker push ghcr.io/andriish/high-x-parton-pdf-inference |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM fedora:39 | ||
RUN dnf -y update && dnf -y install dnf5 && dnf -y clean all | ||
RUN dnf5 -y install julia python gcc-c++ gcc-gfortran && dnf5 -y clean all |
Oops, something went wrong.