Adding nightly builds that will be generated on each push to master (#183)
The latest tag will only be generated when a non-beta Github release is created.
This commit is contained in:
parent
01a3d4682f
commit
0bff7ca165
2
.github/workflows/client.yml
vendored
2
.github/workflows/client.yml
vendored
|
|
@ -229,6 +229,6 @@ jobs:
|
|||
if: success() && github.ref == 'refs/heads/master'
|
||||
run: |
|
||||
docker build -t appsmith/appsmith-editor:${GITHUB_SHA} .
|
||||
docker build -t appsmith/appsmith-editor:latest .
|
||||
docker build -t appsmith/appsmith-editor:nightly .
|
||||
echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
|
||||
docker push appsmith/appsmith-editor
|
||||
12
.github/workflows/github-release.yml
vendored
12
.github/workflows/github-release.yml
vendored
|
|
@ -56,6 +56,12 @@ jobs:
|
|||
- name: Push production image to Docker Hub with commit tag
|
||||
run: |
|
||||
docker build -t appsmith/appsmith-editor:${{steps.get_version.outputs.tag}} .
|
||||
|
||||
# Only build & tag with latest if the tag doesn't contain beta
|
||||
if [[ ! ${{steps.get_version.outputs.tag}} == *"beta"* ]]; then
|
||||
docker build -t appsmith/appsmith-editor:latest .
|
||||
fi
|
||||
|
||||
echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
|
||||
docker push appsmith/appsmith-editor
|
||||
|
||||
|
|
@ -98,6 +104,12 @@ jobs:
|
|||
- name: Push image to Docker Hub
|
||||
run: |
|
||||
docker build -t appsmith/appsmith-server:${{steps.get_version.outputs.tag}} .
|
||||
|
||||
# Only build & tag with latest if the tag doesn't contain beta
|
||||
if [[ ! ${{steps.get_version.outputs.tag}} == *"beta"* ]]; then
|
||||
docker build -t appsmith/appsmith-server:latest .
|
||||
fi
|
||||
|
||||
echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
|
||||
docker push appsmith/appsmith-server
|
||||
|
||||
|
|
|
|||
2
.github/workflows/server.yml
vendored
2
.github/workflows/server.yml
vendored
|
|
@ -79,6 +79,6 @@ jobs:
|
|||
if: success() && github.ref == 'refs/heads/master'
|
||||
run: |
|
||||
docker build -t appsmith/appsmith-server:${GITHUB_SHA} .
|
||||
docker build -t appsmith/appsmith-server:latest .
|
||||
docker build -t appsmith/appsmith-server:nightly .
|
||||
echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
|
||||
docker push appsmith/appsmith-server
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user