Push proxy dockerfile

This commit is contained in:
Adria Navarro 2023-10-30 14:37:33 +01:00
parent 6631a7a11d
commit 0cc978f860
1 changed files with 15 additions and 2 deletions

View File

@ -74,7 +74,7 @@ jobs:
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }} DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }} DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }}
- name: Build docker (budibase/worker) - name: Build worker docker
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: . context: .
@ -91,7 +91,7 @@ jobs:
IMAGE_TAG: ${{ inputs.image_tag }} IMAGE_TAG: ${{ inputs.image_tag }}
BUDIBASE_VERSION: ${{ steps.currenttag.outputs.version }} BUDIBASE_VERSION: ${{ steps.currenttag.outputs.version }}
- name: Build docker (budibase/apps) - name: Build server docker
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: . context: .
@ -108,6 +108,19 @@ jobs:
IMAGE_TAG: ${{ inputs.image_tag }} IMAGE_TAG: ${{ inputs.image_tag }}
BUDIBASE_VERSION: ${{ steps.currenttag.outputs.version }} BUDIBASE_VERSION: ${{ steps.currenttag.outputs.version }}
- name: Build proxy docker
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
file: ./hosting/proxy/Dockerfile
cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:latest
cache-to: type=inline
env:
IMAGE_NAME: proxy-service
IMAGE_TAG: ${{ inputs.image_tag }}
release-helm-chart: release-helm-chart:
needs: [release-images] needs: [release-images]
runs-on: ubuntu-latest runs-on: ubuntu-latest