mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-11 17:38:46 +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
|
echo "FRAPPE_VERSION=$FRAPPE_VERSION" >>$GITHUB_ENV
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
echo "ERPNEXT_VERSION=$ERPNEXT_VERSION" >>$GITHUB_ENV
|
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 }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Get latest versions
|
- name: Get latest versions
|
||||||
run: |
|
run: ./.github/scripts/get-latest-tags.sh
|
||||||
./.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
|
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ matrix.version }}
|
VERSION: ${{ matrix.version }}
|
||||||
|
|
||||||
@ -67,6 +63,8 @@ jobs:
|
|||||||
files: docker-bake.hcl
|
files: docker-bake.hcl
|
||||||
targets: frappe-stable
|
targets: frappe-stable
|
||||||
push: true
|
push: true
|
||||||
|
env:
|
||||||
|
GIT_TAG: ${{ env.FRAPPE_VERSION }}
|
||||||
|
|
||||||
build_erpnext:
|
build_erpnext:
|
||||||
name: ERPNext
|
name: ERPNext
|
||||||
@ -91,11 +89,7 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Get latest versions
|
- name: Get latest versions
|
||||||
run: |
|
run: ./.github/scripts/get-latest-tags.sh
|
||||||
./.github/scripts/get-latest-tags.sh
|
|
||||||
echo "VERSION=$VERSION" >>$GITHUB_ENV
|
|
||||||
echo "GIT_TAG=$ERPNEXT" >>$GITHUB_ENV
|
|
||||||
echo "GIT_BRANCH=version-$VERSION" >>$GITHUB_ENV
|
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ matrix.version }}
|
VERSION: ${{ matrix.version }}
|
||||||
|
|
||||||
@ -116,6 +110,8 @@ jobs:
|
|||||||
files: docker-bake.hcl
|
files: docker-bake.hcl
|
||||||
targets: erpnext-stable
|
targets: erpnext-stable
|
||||||
push: true
|
push: true
|
||||||
|
env:
|
||||||
|
GIT_TAG: ${{ env.ERPNEXT_VERSION }}
|
||||||
|
|
||||||
release_helm:
|
release_helm:
|
||||||
name: Release Helm
|
name: Release Helm
|
||||||
|
Loading…
Reference in New Issue
Block a user