Skip to content

Commit 0d0b642

Browse files
authored
chore: fix cypress run on git tag (#323)
1 parent 8ce1553 commit 0d0b642

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ jobs:
110110
context: .
111111
push: false
112112
load: true
113-
tags: ${{ steps.meta.outputs.tags }}
113+
tags: ${{ env.IMAGE_NAME }}:cypresstest
114114
labels: ${{ steps.meta.outputs.labels }}
115115

116116
- name: Cypress run
117117
uses: cypress-io/github-action@v6
118118
with:
119-
start: docker run --rm -p 80:80 ${{ steps.meta.outputs.tags }}
119+
start: docker run --rm -p 80:80 ${{ env.IMAGE_NAME }}:cypresstest
120120
command-prefix: percy exec -- npx
121121
config: baseUrl=http://localhost:80
122122
env:
@@ -167,13 +167,13 @@ jobs:
167167
context: .
168168
push: false
169169
load: true
170-
tags: ${{ steps.meta.outputs.tags }}
170+
tags: ${{ env.IMAGE_NAME }}:cypresstest
171171
labels: ${{ steps.meta.outputs.labels }}
172172

173173
- name: Cypress run
174174
uses: cypress-io/github-action@v6
175175
with:
176-
start: docker run --rm -p 80:80 ${{ steps.meta.outputs.tags }}
176+
start: docker run --rm -p 80:80 ${{ env.IMAGE_NAME }}:cypresstest
177177
config: baseUrl=http://localhost:80
178178

179179
- name: "Upload Artifact"

0 commit comments

Comments
 (0)