Skip to content

Commit 6d7356f

Browse files
committed
Remove test image and setup build-args for prod
1 parent 90300a5 commit 6d7356f

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/build-production-container.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ jobs:
2828
- uses: actions/checkout@v4
2929
with:
3030
token: ${{ steps.app-token.outputs.token }}
31-
- name: Build test image
32-
id: docker-build-test
33-
uses: docker/build-push-action@v6
34-
with:
35-
target: test
36-
push: false
37-
load: true
3831
- name: Docker meta
3932
id: meta
4033
uses: docker/metadata-action@v5
@@ -52,6 +45,8 @@ jobs:
5245
- name: Build and push
5346
uses: docker/build-push-action@v6
5447
with:
48+
build-args: |
49+
APP_ENV=poduction
5550
push: true
5651
tags: ${{ steps.meta.outputs.tags }}
5752
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)