Skip to content

Commit ec25d88

Browse files
committed
Fix playwright Dockerfile in gh action
1 parent 84cc595 commit ec25d88

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/docker-images.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ jobs:
109109
cache-to: type=gha,mode=max
110110
file: Dockerfile.nginx
111111
platforms: linux/amd64,linux/arm64
112-
build-args: REGISTRY=${{ env.REGISTRY }}/${{ env.ORG }}/
112+
build-args: |
113+
REGISTRY=${{ env.REGISTRY }}/${{ env.ORG }}/
114+
TAG=main
113115
114116
- name: Build and push LLMStack playwright Docker image
115117
id: build-and-push-playwright
@@ -121,9 +123,8 @@ jobs:
121123
labels: ${{ steps.meta-playwright.outputs.labels }}
122124
cache-from: type=gha
123125
cache-to: type=gha,mode=max
124-
file: Dockerfile
126+
file: playwright/Dockerfile
125127
platforms: linux/amd64,linux/arm64
126-
build-args: REGISTRY=${{ env.REGISTRY }}/${{ env.ORG }}/
127128

128129
- name: Sign the published LLMStack API Docker image
129130
if: ${{ github.event_name != 'pull_request' }}

Dockerfile.nginx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
ARG REGISTRY
2+
ARG TAG
3+
24
FROM ${REGISTRY:-}llmstack-api:${TAG:-latest} as builder
35
FROM nginx:stable-alpine3.17-slim
46

0 commit comments

Comments
 (0)