mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
Fix docker release automation main branch (#11286)
This commit is contained in:
parent
0a006b5150
commit
e657209074
1 changed files with 5 additions and 5 deletions
|
|
@ -21,19 +21,19 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout code to main
|
||||
if: "contains(github.event.release.tag_name, '-ce-beta')"
|
||||
if: contains(github.event.release.tag_name, '-ce-beta')
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: refs/heads/main
|
||||
|
||||
- name: Checkout code to LTS-2.50
|
||||
if: "startsWith(github.event.release.tag_name, '2.50') && contains(github.event.release.tag_name, '-ce-lts')"
|
||||
if: contains(github.event.release.tag_name, '2.50')
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: refs/heads/lts-2.50
|
||||
|
||||
- name: Checkout code to LTS-3.0
|
||||
if: "startsWith(github.event.release.tag_name, '3') && contains(github.event.release.tag_name, '-ce-lts')"
|
||||
if: contains(github.event.release.tag_name, '3.0')
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: refs/heads/lts-3.0
|
||||
|
|
@ -73,7 +73,7 @@ jobs:
|
|||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Build and Push Docker image for LTS 2.50 tag
|
||||
if: "startsWith(github.event.release.tag_name, '2.50') && contains(github.event.release.tag_name, '-ce-lts')"
|
||||
if: contains(github.event.release.tag_name, '-ce-lts')
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
|
|
@ -86,7 +86,7 @@ jobs:
|
|||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Build and Push Docker image for LTS 3.0 tag
|
||||
if: "startsWith(github.event.release.tag_name, '3') && contains(github.event.release.tag_name, '-ce-lts')"
|
||||
if: contains(github.event.release.tag_name, '3.0')
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
|
|
|
|||
Loading…
Reference in a new issue