File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 13
13
environment : Docker
14
14
steps :
15
15
- uses : actions/checkout@v2
16
+ with :
17
+ submodules : recursive
16
18
17
19
- name : Determine version tag
18
20
run : echo "VERSION_TAG=`git describe --tags | cut -c 2-`" >> $GITHUB_ENV
@@ -21,22 +23,22 @@ jobs:
21
23
run : echo Version is ${{ env.VERSION_TAG }}
22
24
23
25
- name : Login to Dockerhub
24
- uses : docker/login-action@v1
26
+ uses : docker/login-action@v3
25
27
with :
26
28
username : ${{ secrets.DOCKERHUB_USERNAME }}
27
29
password : ${{ secrets.DOCKERHUB_TOKEN }}
28
30
29
31
- name : Set up QEMU
30
- uses : docker/setup-qemu-action@v1
32
+ uses : docker/setup-qemu-action@v3
31
33
with :
32
34
platforms : all
33
35
34
36
- name : Set up Docker Buildx
35
- uses : docker/setup-buildx-action@v1
37
+ uses : docker/setup-buildx-action@v3
36
38
37
39
- name : Build and push
38
40
id : docker_build
39
- uses : docker/build-push-action@v2
41
+ uses : docker/build-push-action@v6
40
42
with :
41
43
builder : ${{ steps.buildx.outputs.name }}
42
44
context : ./genetIC
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM ubuntu:24.04
2
2
COPY ./ /genetIC
3
3
4
4
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y g++-12 libgsl-dev libfftw3-dev python3-pip pkg-config libhdf5-serial-dev
5
- RUN pip3 install pynbody --break-system-packages # should use a venv but this is simpler for now
5
+ RUN pip3 install --pre pynbody --break-system-packages # should use a venv but this is simpler for now
6
6
RUN cd /genetIC && make clean && make
7
7
8
8
ENTRYPOINT ["/genetIC/genetIC" ]
You can’t perform that action at this time.
0 commit comments