Skip to content

Commit 9e28e7d

Browse files
committed
Update build.yaml
1 parent 694f104 commit 9e28e7d

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ name: "Build Images"
22
on:
33
workflow_dispatch:
44
inputs:
5-
logLevel:
6-
description: 'Log level'
5+
environment:
6+
description: 'Environment'
77
required: true
8-
default: 'warning'
9-
tags:
10-
description: 'Test Workflow'
8+
default: 'dev'
119

1210
jobs:
1311
build:
@@ -20,7 +18,7 @@ jobs:
2018
submodules: recursive
2119

2220
- name: Login to Docker Hub
23-
environment: dev
21+
environment: "dev"
2422
uses: docker/login-action@v3
2523
with:
2624
registry: ${{ vars.WS_DOCKER_REGISTRY }}
@@ -31,11 +29,11 @@ jobs:
3129
run: echo "CODE_VERSION=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
3230

3331
- name: Build the stack
34-
environment: dev
32+
environment: "dev"
3533
run: docker compose -f docker-compose.build.yml --env-file tdei_uw.env build --build-arg CODE_VERSION=${CODE_VERSION}
3634

3735
- name: Push the stack to ACR
38-
environment: dev
36+
environment: "dev"
3937
run: docker compose --env-file tdei_uw.env push
4038

4139

0 commit comments

Comments
 (0)