Skip to content

Commit 694f104

Browse files
committed
Update build.yaml
1 parent 7960cac commit 694f104

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ on:
1010
description: 'Test Workflow'
1111

1212
jobs:
13-
environment: dev
14-
1513
build:
1614
runs-on: ubuntu-latest
1715
name: Image Build
@@ -22,6 +20,7 @@ jobs:
2220
submodules: recursive
2321

2422
- name: Login to Docker Hub
23+
environment: dev
2524
uses: docker/login-action@v3
2625
with:
2726
registry: ${{ vars.WS_DOCKER_REGISTRY }}
@@ -32,9 +31,11 @@ jobs:
3231
run: echo "CODE_VERSION=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
3332

3433
- name: Build the stack
34+
environment: dev
3535
run: docker compose -f docker-compose.build.yml --env-file tdei_uw.env build --build-arg CODE_VERSION=${CODE_VERSION}
3636

3737
- name: Push the stack to ACR
38+
environment: dev
3839
run: docker compose --env-file tdei_uw.env push
3940

4041

0 commit comments

Comments
 (0)