Skip to content

Commit

Permalink
The branch with all the images (#31)
Browse files Browse the repository at this point in the history
Update of images: 26.01.2023

* OK

---------

Co-authored-by: Andrii Verbytskyi <[email protected]>
Co-authored-by: Andrii Verbytskyi <[email protected]>
  • Loading branch information
3 people authored Jan 26, 2024
1 parent 234a374 commit 93c36bd
Show file tree
Hide file tree
Showing 34 changed files with 3,230 additions and 350 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/publish.yml
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
3 changes: 3 additions & 0 deletions Dockerfile
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
Loading

0 comments on commit 93c36bd

Please sign in to comment.