File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 32
32
DAFNI_PARENT_ID : ${{ secrets.DAFNI_PARENT_ID }}
33
33
DAFNI_USERNAME : ${{ secrets.DAFNI_USERNAME }}
34
34
DAFNI_PASSWORD : ${{ secrets.DAFNI_PASSWORD }}
35
- WORKER_ID : ${{ github.event.workflow_run.id }}
36
35
CTF_VERSION : ${{ github.event.release.tag_name }}
37
36
38
37
steps :
42
41
python-version : 3.9
43
42
- name : Build the container
44
43
run : |
45
- docker build -t ctf:${WORKER_ID} -f ./dafni/Dockerfile .
46
- docker save ctf:${WORKER_ID} | gzip > ctf${WORKER_ID} .tar.gz
44
+ docker build -t ctf:gh -f ./dafni/Dockerfile .
45
+ docker save ctf:gh | gzip > ctf-gh .tar.gz
47
46
48
47
- name : Install DAFNI-CLI and log in
49
48
run : |
52
51
53
52
- name : Upload to DAFNI
54
53
run : |
55
- dafni upload model ./dafni/model_definition.yaml ctf${WORKER_ID} .tar.gz --version-message "Version ${CTF_VERSION}. Uploaded via Github." --parent-id ${DAFNI_PARENT_ID} -y
54
+ dafni upload model ./dafni/model_definition.yaml ctf-gh .tar.gz --version-message "Version ${CTF_VERSION}. Uploaded via Github." --parent-id ${DAFNI_PARENT_ID} -y
56
55
dafni logout
You can’t perform that action at this time.
0 commit comments