tag docker images, change eks deploy action

This commit is contained in:
Martin McKeaveney 2021-12-16 12:44:11 +01:00
parent 1a964f2122
commit 5c43042bf5
2 changed files with 5 additions and 4 deletions

View File

@ -30,13 +30,14 @@ jobs:
echo "::set-output name=release_version::$release_version"
- name: Deploy to EKS
uses: peymanmortazavi/eks-helm-deploy@v1
uses: craftech-io/eks-helm-deploy-action@v1
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-region: eu-west-1
cluster-name: budibase-eks-production
config-files: values.production.yaml
chart-path: charts/budibase
namespace: budibase
values: appVersion=v${{ github.event.inputs.version || github.steps.version.outputs.release_version }}
name: budibase-prod

View File

@ -29,8 +29,8 @@ jobs:
docker tag budibase/worker:$release_tag latest
# Push images
docker push budibase/apps:latest
docker push budibase/worker:latest
docker push --all-tags budibase/apps
docker push --all-tags budibase/apps
env:
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }}