Skip to content

Commit 698f0cf

Browse files
committed
fingers crossed
1 parent a7dbf32 commit 698f0cf

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,14 @@ jobs:
8888
uses: docker/setup-buildx-action@v3
8989

9090
- name: Login to DockerHub
91-
if: env.PUSH == 'true' && ${{ secrets.DOCKERHUB_USERNAME != '' }}
91+
if: ${{ env.PUSH == 'true' && secrets.DOCKERHUB_USERNAME != '' }}
9292
uses: docker/login-action@v3
9393
with:
9494
username: ${{ secrets.DOCKERHUB_USERNAME }}
9595
password: ${{ secrets.DOCKERHUB_PASSWORD }}
9696

9797
- name: Login to GitHub Container Registry
98-
if: env.PUSH == 'true'
98+
if: ${{ env.PUSH == 'true' }}
9999
uses: docker/login-action@v3
100100
with:
101101
registry: ghcr.io
@@ -212,6 +212,7 @@ jobs:
212212
213213
# ---- model binaries ----
214214
- name: Build model binaries (basgra, biocro, ed2_git, maespa, sipnet)
215+
if: ${{ env.PUSH == 'true' }}
215216
run: |
216217
set -euo pipefail
217218
build_model() {

.github/workflows/docker-build-image.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,14 @@ jobs:
8888
uses: docker/setup-buildx-action@v3
8989

9090
- name: Login to DockerHub
91-
if: env.PUSH == 'true' && ${{ secrets.DOCKERHUB_USERNAME != '' }}
91+
if: ${{ env.PUSH == 'true' && secrets.DOCKERHUB_USERNAME != '' }}
9292
uses: docker/login-action@v3
9393
with:
9494
username: ${{ secrets.DOCKERHUB_USERNAME }}
9595
password: ${{ secrets.DOCKERHUB_PASSWORD }}
9696

9797
- name: Login to GitHub Container Registry
98-
if: env.PUSH == 'true'
98+
if: ${{ env.PUSH == 'true' }}
9999
uses: docker/login-action@v3
100100
with:
101101
registry: ghcr.io
@@ -212,6 +212,7 @@ jobs:
212212
213213
# ---- model binaries ----
214214
- name: Build model binaries (basgra, biocro, ed2_git, maespa, sipnet)
215+
if: ${{ env.PUSH == 'true' }}
215216
run: |
216217
set -euo pipefail
217218
build_model() {

.github/workflows/docker-stack-sipnet.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,14 @@ jobs:
8888
uses: docker/setup-buildx-action@v3
8989

9090
- name: Login to DockerHub
91-
if: env.PUSH == 'true' && ${{ secrets.DOCKERHUB_USERNAME != '' }}
91+
if: ${{ env.PUSH == 'true' && secrets.DOCKERHUB_USERNAME != '' }}
9292
uses: docker/login-action@v3
9393
with:
9494
username: ${{ secrets.DOCKERHUB_USERNAME }}
9595
password: ${{ secrets.DOCKERHUB_PASSWORD }}
9696

9797
- name: Login to GitHub Container Registry
98-
if: env.PUSH == 'true'
98+
if: ${{ env.PUSH == 'true' }}
9999
uses: docker/login-action@v3
100100
with:
101101
registry: ghcr.io
@@ -212,6 +212,7 @@ jobs:
212212
213213
# ---- model binaries ----
214214
- name: Build model binaries (basgra, biocro, ed2_git, maespa, sipnet)
215+
if: ${{ env.PUSH == 'true' }}
215216
run: |
216217
set -euo pipefail
217218
build_model() {

0 commit comments

Comments
 (0)