We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 525a217 commit bd9d165Copy full SHA for bd9d165
1 file changed
.github/workflows/docker-image.yml
@@ -0,0 +1,20 @@
1
+name: Docker Image CI
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+jobs:
10
11
+ build:
12
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ - name: Add GITHUB_SHA_SHORT env property with commit short sha
18
+ run: echo "GITHUB_SHA_SHORT=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
19
+ - name: Build the Docker image
20
+ run: docker build . --file Dockerfile --tag openconceptlab/oclweb3:nightly --tag openconceptlab/oclweb3:3.0-alpha-${GITHUB_SHA_SHORT}
0 commit comments