Skip to content

Commit 35de1e3

Browse files
committed
fix: added missing build args to Docker images
1 parent c42a7aa commit 35de1e3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163
uses: whoan/docker-build-with-cache-action@v5
164164
with:
165165
dockerfile: Dockerfile-pyneuroml
166-
build_extra_args: "--compress=true --label org.opencontainers.image.revision=${{steps.get-docker-image-tag.outputs.revision}} --label org.opencontainers.image.created=${{steps.get-docker-image-tag.outputs.created}}"
166+
build_extra_args: "--compress=true --build-arg VERSION=${{ steps.get-version-number.outputs.version }} --build-arg SIMULATOR_VERSION=${{ steps.get-docker-image-tag.outputs.pyneuromlVersion }} --label org.opencontainers.image.source=https://github.com/${{ github.repository }} --label org.opencontainers.image.revision=${{steps.get-docker-image-tag.outputs.revision}} --label org.opencontainers.image.created=${{steps.get-docker-image-tag.outputs.created}}"
167167
registry: ghcr.io
168168
image_name: biosimulators/biosimulators_pyneuroml/pyneuroml
169169
image_tag: ${{ github.sha }}
@@ -175,7 +175,7 @@ jobs:
175175
uses: whoan/docker-build-with-cache-action@v5
176176
with:
177177
dockerfile: Dockerfile-neuron
178-
build_extra_args: "--compress=true --label org.opencontainers.image.revision=${{steps.get-docker-image-tag.outputs.revision}} --label org.opencontainers.image.created=${{steps.get-docker-image-tag.outputs.created}}"
178+
build_extra_args: "--compress=true --build-arg VERSION=${{ steps.get-version-number.outputs.version }} --build-arg SIMULATOR_VERSION=${{ steps.get-docker-image-tag.outputs.neuronVersion }} --label org.opencontainers.image.source=https://github.com/${{ github.repository }} --label org.opencontainers.image.revision=${{steps.get-docker-image-tag.outputs.revision}} --label org.opencontainers.image.created=${{steps.get-docker-image-tag.outputs.created}}"
179179
registry: ghcr.io
180180
image_name: biosimulators/biosimulators_pyneuroml/neuron
181181
image_tag: ${{ github.sha }}
@@ -187,7 +187,7 @@ jobs:
187187
uses: whoan/docker-build-with-cache-action@v5
188188
with:
189189
dockerfile: Dockerfile-netpyne
190-
build_extra_args: "--compress=true --label org.opencontainers.image.revision=${{steps.get-docker-image-tag.outputs.revision}} --label org.opencontainers.image.created=${{steps.get-docker-image-tag.outputs.created}}"
190+
build_extra_args: "--compress=true --build-arg VERSION=${{ steps.get-version-number.outputs.version }} --build-arg SIMULATOR_VERSION=${{ steps.get-docker-image-tag.outputs.netpyneVersion }} --label org.opencontainers.image.source=https://github.com/${{ github.repository }} --label org.opencontainers.image.revision=${{steps.get-docker-image-tag.outputs.revision}} --label org.opencontainers.image.created=${{steps.get-docker-image-tag.outputs.created}}"
191191
registry: ghcr.io
192192
image_name: biosimulators/biosimulators_pyneuroml/netpyne
193193
image_tag: ${{ github.sha }}
@@ -199,7 +199,7 @@ jobs:
199199
uses: whoan/docker-build-with-cache-action@v5
200200
with:
201201
dockerfile: Dockerfile-brian2
202-
build_extra_args: "--compress=true --label org.opencontainers.image.revision=${{steps.get-docker-image-tag.outputs.revision}} --label org.opencontainers.image.created=${{steps.get-docker-image-tag.outputs.created}}"
202+
build_extra_args: "--compress=true --build-arg VERSION=${{ steps.get-version-number.outputs.version }} --build-arg SIMULATOR_VERSION=${{ steps.get-docker-image-tag.outputs.brian2Version }} --label org.opencontainers.image.source=https://github.com/${{ github.repository }} --label org.opencontainers.image.revision=${{steps.get-docker-image-tag.outputs.revision}} --label org.opencontainers.image.created=${{steps.get-docker-image-tag.outputs.created}}"
203203
registry: ghcr.io
204204
image_name: biosimulators/biosimulators_pyneuroml/brian2
205205
image_tag: ${{ github.sha }}

0 commit comments

Comments
 (0)