2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-23 18:48:58 +00:00

build: Fix stable builds (#546)

This commit is contained in:
Lev 2021-11-06 21:07:39 +03:00 committed by GitHub
parent daa1926f03
commit 089a2dc206
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View File

@ -16,3 +16,7 @@ ERPNEXT_VERSION=$(get_tag frappe/erpnext "$VERSION")
echo "FRAPPE_VERSION=$FRAPPE_VERSION" >>$GITHUB_ENV
# shellcheck disable=SC2086
echo "ERPNEXT_VERSION=$ERPNEXT_VERSION" >>$GITHUB_ENV
# shellcheck disable=SC2086
echo "GIT_BRANCH=version-$VERSION" >>$GITHUB_ENV
# shellcheck disable=SC2086
echo "VERSION=$VERSION" >>$GITHUB_ENV

View File

@ -42,11 +42,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Get latest versions
run: |
./.github/scripts/get-latest-tags.sh
echo "VERSION=$VERSION" >>$GITHUB_ENV
echo "GIT_TAG=$FRAPPE_VERSION" >>$GITHUB_ENV
echo "GIT_BRANCH=version-$VERSION" >>$GITHUB_ENV
run: ./.github/scripts/get-latest-tags.sh
env:
VERSION: ${{ matrix.version }}
@ -67,6 +63,8 @@ jobs:
files: docker-bake.hcl
targets: frappe-stable
push: true
env:
GIT_TAG: ${{ env.FRAPPE_VERSION }}
build_erpnext:
name: ERPNext
@ -91,11 +89,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Get latest versions
run: |
./.github/scripts/get-latest-tags.sh
echo "VERSION=$VERSION" >>$GITHUB_ENV
echo "GIT_TAG=$ERPNEXT" >>$GITHUB_ENV
echo "GIT_BRANCH=version-$VERSION" >>$GITHUB_ENV
run: ./.github/scripts/get-latest-tags.sh
env:
VERSION: ${{ matrix.version }}
@ -116,6 +110,8 @@ jobs:
files: docker-bake.hcl
targets: erpnext-stable
push: true
env:
GIT_TAG: ${{ env.ERPNEXT_VERSION }}
release_helm:
name: Release Helm