From 497435fcbb5635465948df484c5531317192f452 Mon Sep 17 00:00:00 2001 From: Farhan Angullia Date: Sat, 7 Oct 2023 12:36:24 +0800 Subject: [PATCH] Update docker-publish.yml --- .github/workflows/docker-publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 99a04ef..031d7d2 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -28,8 +28,8 @@ jobs: strategy: matrix: include: - - image: ghcr.io/chaos-playground-ui - dockerfile: apps/chaos-playground-ui/Dockerfile + - image: "${{ env.REGISTRY }}/chaos-playground/chaos-playground-ui" + context: apps/chaos-playground-ui permissions: contents: read @@ -80,7 +80,7 @@ jobs: id: build-and-push uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0 with: - context: ${{ matrix.dockerfile }} + context: ${{ matrix.context }} push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}