Build azure docker image

This commit is contained in:
Adria Navarro 2023-10-02 19:14:12 +02:00
parent 4df12eda10
commit 3f5c142674
2 changed files with 11 additions and 10 deletions

View File

@ -77,12 +77,13 @@ jobs:
file: ./hosting/single/Dockerfile file: ./hosting/single/Dockerfile
cache-from: type=registry,ref=budibase/budibase:latest cache-from: type=registry,ref=budibase/budibase:latest
cache-to: type=inline cache-to: type=inline
# - name: Tag and release Budibase Azure App Service docker image - name: Tag and release Budibase Azure App Service docker image
# uses: docker/build-push-action@v2 uses: docker/build-push-action@v5
# with: with:
# context: . context: .
# push: true push: false
# platforms: linux/amd64 pull: true
# build-args: TARGETBUILD=aas platforms: linux/amd64
# tags: budibase/budibase-aas,budibase/budibase-aas:${{ env.RELEASE_VERSION }} build-args: TARGETBUILD=aas
# file: ./hosting/single/Dockerfile tags: budibase/budibase-aas,budibase/budibase-aas:${{ env.RELEASE_VERSION }}
file: ./hosting/single/Dockerfile

View File

@ -30,7 +30,7 @@ COPY packages/worker/dist packages/server/dist
RUN rm -rf scripts/ RUN rm -rf scripts/
FROM budibase/couchdb FROM budibase/couchdb as runner
ARG TARGETARCH ARG TARGETARCH
ENV TARGETARCH $TARGETARCH ENV TARGETARCH $TARGETARCH
#TARGETBUILD can be set to single (for single docker image) or aas (for azure app service) #TARGETBUILD can be set to single (for single docker image) or aas (for azure app service)