File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Docker Image for specific branch
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ branch :
7+ description : ' branch or tag to build'
8+ required : true
9+
10+ env :
11+ ORG : timescaledev
12+ TS_VERSION : ${{ github.event.inputs.branch }}
13+ PLATFORM : linux/amd64
14+
15+ jobs :
16+
17+ # Build ubuntu TimescaleDB images for both TSL and OSS code.
18+ timescaledb :
19+
20+ name : Docker ${{ github.event.inputs.branch }} PG${{ matrix.pg }}
21+ runs-on : ubuntu-latest
22+ strategy :
23+ fail-fast : false
24+ matrix :
25+ pg : [14]
26+
27+ steps :
28+ - uses : actions/checkout@v2
29+
30+ - name : Set up Docker Buildx
31+ id : buildx
32+ uses : docker/setup-buildx-action@v1
33+
34+ - name : Linux available buildx platforms
35+ run : echo ${{ steps.buildx.outputs.platforms }}
36+
37+ - name : Linux available buildx platforms
38+ run : echo ${TS_VERSION}
39+
40+ - name : Login to DockerHub Registry
41+ run : echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USER }} --password-stdin
42+
43+ - name : Build and push nightly Docker image for TimescaleDB
44+ run : make multi ORG=$ORG PG_VER=pg${{ matrix.pg }} TS_VERSION="${TS_VERSION}" PLATFORM=$PLATFORM TAG="-t timescaledev/timescaledb:branch-${TS_VERSION}-pg${{ matrix.pg }}"
45+
You can’t perform that action at this time.
0 commit comments