mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-08 22:31:07 +00:00
build: Fix stable builds (#546)
This commit is contained in:
parent
daa1926f03
commit
089a2dc206
4
.github/scripts/get-latest-tags.sh
vendored
4
.github/scripts/get-latest-tags.sh
vendored
@ -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
|
||||
|
16
.github/workflows/build_stable.yml
vendored
16
.github/workflows/build_stable.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user