turn off release pipeline, update selfhost jobs

This commit is contained in:
Martin McKeaveney 2021-12-16 12:35:50 +01:00
parent e7ab6f72f7
commit 1a964f2122
3 changed files with 7 additions and 7 deletions

View File

@ -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 }}

View File

@ -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

View File

@ -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 }}