File tree 3 files changed +32
-2
lines changed
3 files changed +32
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Docker Build
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ semver_version :
7
+ description : ' Semantic version (e.g. 1.0.0)'
8
+ required : true
9
+ type : string
10
+ rdkit_dash_version :
11
+ description : ' RDKit Dash version'
12
+ required : true
13
+ type : string
14
+ beta :
15
+ description : ' Beta flag'
16
+ required : true
17
+ type : string
18
+
19
+ jobs :
20
+ build :
21
+ runs-on : ubuntu-latest
22
+
23
+ steps :
24
+ - uses : actions/checkout@v3
25
+
26
+ - name : Build with NPM
27
+ run : |
28
+ RDKIT_DASH_VERSION=${{ inputs.rdkit_dash_version }} SEMVER_VERSION=${{ inputs.semver_version }} BETA=${{ inputs.beta }} NPM_TOKEN=${{ secrets.NPM_TOKEN }} npm run build
Original file line number Diff line number Diff line change @@ -116,4 +116,4 @@ RUN /opt/emsdk/node/*/bin/node tests.js
116
116
# https://docs.docker.com/engine/reference/commandline/build/#custom-build-outputs
117
117
FROM scratch as export-stage
118
118
COPY --from=build-stage /src/rdkit/Code/MinimalLib/demo /
119
- COPY --from=build-stage /src/rdkit/Code/MinimalLib/docs /
119
+ COPY --from=build-stage /src/rdkit/Code/MinimalLib/docs /
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
1
3
set -e
2
4
3
5
# Set branch to release
@@ -28,7 +30,7 @@ rm -rf $LEGACY_MINIMALLIB_OUTPUT_PATH
28
30
mkdir -p $LEGACY_MINIMALLIB_OUTPUT_PATH
29
31
30
32
# Build distribution files
31
- DOCKER_BUILDKIT=1 docker build --no-cache -- platform=linux/amd64 -f Dockerfile --build-arg RDKIT_BRANCH=$RDKIT_BRANCH -o $MINIMALLIB_OUTPUT_PATH .
33
+ DOCKER_BUILDKIT=1 docker build --platform=linux/amd64 -f Dockerfile --build-arg RDKIT_BRANCH=$RDKIT_BRANCH -o $MINIMALLIB_OUTPUT_PATH .
32
34
33
35
# Make dist files executable
34
36
chmod a+rwx $MINIMALLIB_OUTPUT_PATH /RDKit_minimal.js
You can’t perform that action at this time.
0 commit comments