We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 096e4ba commit 29d953aCopy full SHA for 29d953a
.github/workflows/build-demo.yml
@@ -23,11 +23,7 @@ jobs:
23
env:
24
BASE_IMAGE_NAME: ${{ github.repository }}
25
run: |
26
- if [[ $GITHUB_REF == refs/tags/* ]]; then
27
- echo "image_name=${REGISTRY}/${BASE_IMAGE_NAME}" >> $GITHUB_OUTPUT
28
- else
29
- echo "image_name=${REGISTRY}/${BASE_IMAGE_NAME}-stage" >> $GITHUB_OUTPUT
30
- fi
+ echo "image_name=${REGISTRY}/${BASE_IMAGE_NAME}-demo" >> $GITHUB_OUTPUT
31
32
- name: Login to GitHub Container Registry
33
uses: docker/login-action@v2
@@ -54,4 +50,4 @@ jobs:
54
50
file: docker/Dockerfile.demo
55
51
tags: ${{ steps.meta.outputs.tags }}
56
52
labels: ${{ steps.meta.outputs.labels }}
57
- push: ${{ startsWith(github.ref, 'refs/tags/v') || endsWith(github.ref, '/stage') }}
53
+ push: ${{ startsWith(github.ref, 'refs/tags/v') }}
0 commit comments