Skip to content

Commit 2aca762

Browse files
Fix build.
1 parent 8a6ed7b commit 2aca762

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: .github/workflows/release.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
- name: Publish - Check Tag
100100
id: normal-version
101101
run: |
102-
if [[ ${{ env.GITHUB_REF_SLUG }} =~ ^[0-9]+\.[0-9]+$ ]]; then
102+
if [[ ${{ env.GITHUB_REF_SLUG }} =~ ^[0-9]+\.[0-9]+(\.[0-9]+){0,2}$ ]]; then
103103
echo "STABLE_VERSION=true" >> $GITHUB_ENV
104104
fi
105105
@@ -117,13 +117,13 @@ jobs:
117117
118118
- name: Publish - Push Tags
119119
run: |
120-
docker tag squidex-local squidex/squidex:${{ env.GITHUB_REF_SLUG }}
121-
docker tag squidex-local squidex/squidex:${{ steps.version.outputs._0 }}
120+
docker push squidex/squidex:${{ env.GITHUB_REF_SLUG }}
121+
docker push squidex/squidex:${{ steps.version.outputs._0 }}
122122
123-
- name: Publish - Push Latest
123+
- name: Publish - Push Tags Latest
124124
if: env.STABLE_VERSION == 'true'
125125
run: |
126-
docker tag squidex-local squidex/squidex:latest
126+
docker push squidex/squidex:latest
127127
128128
- name: Release - Make directories
129129
run: sudo mkdir /build /release

0 commit comments

Comments
 (0)