Skip to content

Commit 2a7270a

Browse files
committed
GH Actions
1 parent 8033e60 commit 2a7270a

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

.github/workflows/build.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: "Build Images"
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
logLevel:
6+
description: 'Log level'
7+
required: true
8+
default: 'warning'
9+
tags:
10+
description: 'Test Workflow'
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
name: Image Build
16+
timeout-minutes: 45
17+
steps:
18+
- uses: actions/checkout@v2
19+
20+
- name: Set commit SHA
21+
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
22+
23+
- name: Build the stack
24+
run: docker-compose -f docker-compose.build.yml -env example.env build
25+

docker-compose.build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ services:
4646
#TM_CONSUMER_KEY
4747
#TM_CONSUMER_SECRET
4848

49-
5049
tasks-backend:
5150
image: ${WS_DOCKER_REGISTRY}/workspaces-tasks-backend:${WS_DOCKER_TAG}
5251
build:

0 commit comments

Comments
 (0)