chore: stable tag for docker image
This commit is contained in:
parent
8ec406dad0
commit
2cfaf383d8
5
.github/workflows/builds.yml
vendored
5
.github/workflows/builds.yml
vendored
@ -46,6 +46,7 @@ jobs:
|
|||||||
- name: Set Image Tag
|
- name: Set Image Tag
|
||||||
run: |
|
run: |
|
||||||
echo "IMAGE_TAG=${{ github.ref_name == 'develop' && 'latest' || 'v15' }}" >> $GITHUB_ENV
|
echo "IMAGE_TAG=${{ github.ref_name == 'develop' && 'latest' || 'v15' }}" >> $GITHUB_ENV
|
||||||
|
echo "STABLE_TAG=${{ github.ref_name == 'develop' && 'nightly' || 'stable' }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@ -60,7 +61,9 @@ jobs:
|
|||||||
file: builds/images/layered/Containerfile
|
file: builds/images/layered/Containerfile
|
||||||
tags: >
|
tags: >
|
||||||
ghcr.io/${{ github.repository }}:${{ github.ref_name }},
|
ghcr.io/${{ github.repository }}:${{ github.ref_name }},
|
||||||
ghcr.io/${{ github.repository }}:${{ env.IMAGE_TAG }}
|
ghcr.io/${{ github.repository }}:${{ env.IMAGE_TAG }},
|
||||||
|
ghcr.io/${{ github.repository }}:${{ env.STABLE_TAG }}
|
||||||
|
|
||||||
build-args: |
|
build-args: |
|
||||||
"FRAPPE_BRANCH=${{ env.FRAPPE_BRANCH }}"
|
"FRAPPE_BRANCH=${{ env.FRAPPE_BRANCH }}"
|
||||||
"APPS_JSON_BASE64=${{ env.APPS_JSON_BASE64 }}"
|
"APPS_JSON_BASE64=${{ env.APPS_JSON_BASE64 }}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user