proxy publishing script

This commit is contained in:
Martin McKeaveney 2022-03-10 06:59:17 +00:00
parent 10d2c29441
commit 14768d0479
2 changed files with 6 additions and 4 deletions

View File

@ -42,11 +42,12 @@ jobs:
run: | run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
yarn build:docker:proxy:prod yarn build:docker:proxy:prod
docker tag budibase/proxy:$release_tag budibase/proxy:k8s docker tag proxy-service budibase/proxy:$PROD_TAG
docker push budibase/proxy:k8s docker push budibase/proxy:$PROD_TAG
env: env:
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }} DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }} DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }}
PROD_TAG: k8s
- name: Configure AWS Credentials - name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1 uses: aws-actions/configure-aws-credentials@v1

View File

@ -34,11 +34,12 @@ jobs:
run: | run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
yarn build:docker:proxy:preprod yarn build:docker:proxy:preprod
docker tag budibase/proxy:$release_tag budibase/proxy:k8s-preprod docker tag proxy-service budibase/proxy:$PREPROD_TAG
docker push budibase/proxy:k8s-preprod docker push budibase/proxy:$PREPROD_TAG
env: env:
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }} DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }} DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }}
PREPROD_TAG: k8s-preprod
- name: Pull values.yaml from budibase-infra - name: Pull values.yaml from budibase-infra
run: | run: |