@@ -15,25 +15,25 @@ jobs:
1515 permissions :
1616 contents : read
1717 packages : write
18-
18+
1919 steps :
2020 - name : Checkout repository
2121 uses : actions/checkout@v4
22-
22+
2323 - name : Set up Docker Buildx
2424 uses : docker/setup-buildx-action@v3
25-
25+
2626 - name : Log in to GitHub Container Registry
2727 uses : docker/login-action@v3
2828 with :
2929 registry : ghcr.io
3030 username : ${{ github.actor }}
31- password : ${{ secrets.GITHUB_TOKEN }}
32-
31+ password : ${{ secrets.GHCR_TOKEN }}
32+
3333 - name : Set date tag
3434 id : date
3535 run : echo "DATE_TAG=$(date +'%Y.%m.%d')" >> $GITHUB_OUTPUT
36-
36+
3737 - name : Pull OpenMS Docker container
3838 id : pull_docker
3939 uses : nick-fields/retry@v2
4242 max_attempts : 3
4343 retry_wait_seconds : 30
4444 command : docker pull ghcr.io/openms/openms-tools-thirdparty:latest
45-
45+
4646 - name : Tag and push OpenMS Docker container
4747 if : steps.pull_docker.outcome == 'success'
4848 run : |
@@ -71,13 +71,13 @@ jobs:
7171 }
7272 echo "Pushed release version as $LATEST_IMAGE"
7373 fi
74-
74+
7575 - name : Set up Singularity
7676 if : success()
7777 uses : eWaterCycle/setup-singularity@v7
7878 with :
7979 singularity-version : 3.8.7
80-
80+
8181 - name : Pull OpenMS SIF container
8282 id : pull_sif
8383 if : success()
8787 max_attempts : 3
8888 retry_wait_seconds : 60
8989 command : singularity pull --force openms-tools-thirdparty.sif oras://ghcr.io/openms/openms-tools-thirdparty-sif:latest
90-
90+
9191 - name : Push OpenMS SIF container
9292 if : steps.pull_sif.outcome == 'success'
9393 run : |
@@ -111,12 +111,12 @@ jobs:
111111 }
112112 echo "Pushed release version as $LATEST_SIF"
113113 fi
114-
114+
115115 - name : Notify on success
116116 if : success()
117117 run : |
118118 echo "::notice::Successfully synced OpenMS containers to BigBio repositories"
119-
119+
120120 - name : Notify on failure
121121 if : failure()
122122 run : |
0 commit comments