turn off release pipeline, update selfhost jobs
This commit is contained in:
parent
e7ab6f72f7
commit
1a964f2122
|
@ -29,7 +29,8 @@ jobs:
|
||||||
release_version=$(cat lerna.json | jq -r '.version')
|
release_version=$(cat lerna.json | jq -r '.version')
|
||||||
echo "::set-output name=release_version::$release_version"
|
echo "::set-output name=release_version::$release_version"
|
||||||
|
|
||||||
- uses: peymanmortazavi/eks-helm-deploy@v1
|
- name: Deploy to EKS
|
||||||
|
uses: peymanmortazavi/eks-helm-deploy@v1
|
||||||
with:
|
with:
|
||||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
|
|
|
@ -25,16 +25,15 @@ jobs:
|
||||||
docker pull budibase/worker:$release_tag
|
docker pull budibase/worker:$release_tag
|
||||||
|
|
||||||
# Tag apps and worker images
|
# Tag apps and worker images
|
||||||
docker tag budibase/apps:$release_tag $SELF_HOST_TAG
|
docker tag budibase/apps:$release_tag latest
|
||||||
docker tag budibase/worker:$release_tag $SELF_HOST_TAG
|
docker tag budibase/worker:$release_tag latest
|
||||||
|
|
||||||
# Push images
|
# Push images
|
||||||
docker push --all-tags budibase/apps
|
docker push budibase/apps:latest
|
||||||
docker push --all-tags budibase/worker
|
docker push budibase/worker:latest
|
||||||
env:
|
env:
|
||||||
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
|
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
|
||||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }}
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }}
|
||||||
SELF_HOST_TAG: latest
|
|
||||||
|
|
||||||
- name: Setup Helm
|
- name: Setup Helm
|
||||||
uses: azure/setup-helm@v1
|
uses: azure/setup-helm@v1
|
||||||
|
|
|
@ -3,7 +3,7 @@ name: Budibase Release
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- test
|
||||||
|
|
||||||
env:
|
env:
|
||||||
POSTHOG_TOKEN: ${{ secrets.POSTHOG_TOKEN }}
|
POSTHOG_TOKEN: ${{ secrets.POSTHOG_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue