Skip to content

Commit 63a40e5

Browse files
authored
feat: upload Dockerfiles as part of the release process (#734)
1 parent 773cfd6 commit 63a40e5

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

.github/workflows/ci_cd.yml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,19 @@ jobs:
463463
.\.venv\Scripts\Activate.ps1
464464
pytest -v --use-existing-service=yes
465465
466+
- name: "Compressing Dockerfile.windows"
467+
uses: vimtor/action-zip@v1.1
468+
with:
469+
files: docker/Dockerfile.windows
470+
dest: windows-dockerfile.zip
471+
472+
- name: Upload Windows Dockerfile
473+
uses: actions/upload-artifact@v3
474+
with:
475+
name: windows-dockerfile.zip
476+
path: windows-dockerfile.zip
477+
retention-days: 7
478+
466479
- name: Stop the Geometry service
467480
if: always()
468481
run: |
@@ -540,6 +553,19 @@ jobs:
540553
checkout: false
541554
requires-xvfb: true
542555

556+
- name: "Compressing Dockerfile.linux"
557+
uses: vimtor/action-zip@v1.1
558+
with:
559+
files: docker/Dockerfile.linux
560+
dest: linux-dockerfile.zip
561+
562+
- name: Upload Linux Dockerfile
563+
uses: actions/upload-artifact@v3
564+
with:
565+
name: linux-dockerfile.zip
566+
path: linux-dockerfile.zip
567+
retention-days: 7
568+
543569
- name: Stop the Geometry service
544570
if: always()
545571
run: |
@@ -564,7 +590,7 @@ jobs:
564590
uses: ansys/actions/release-github@v4
565591
with:
566592
library-name: ${{ env.PACKAGE_NAME }}
567-
additional-artifacts: windows-binaries.zip linux-binaries.zip
593+
additional-artifacts: windows-binaries.zip windows-dockerfile.zip linux-binaries.zip linux-dockerfile.zip
568594

569595
upload_dev_docs:
570596
name: Upload dev documentation

0 commit comments

Comments
 (0)