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
cache-from: type=registry,ref=budibase/budibase:latest
cache-to: type=inline
# - name: Tag and release Budibase Azure App Service docker image
# uses: docker/build-push-action@v2
# with:
# context: .
# push: true
# platforms: linux/amd64
# build-args: TARGETBUILD=aas
# tags: budibase/budibase-aas,budibase/budibase-aas:${{ env.RELEASE_VERSION }}
# file: ./hosting/single/Dockerfile
- name: Tag and release Budibase Azure App Service docker image
uses: docker/build-push-action@v5
with:
context: .
push: false
pull: true
platforms: linux/amd64
build-args: TARGETBUILD=aas
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/
FROM budibase/couchdb
FROM budibase/couchdb as runner
ARG TARGETARCH
ENV TARGETARCH $TARGETARCH
#TARGETBUILD can be set to single (for single docker image) or aas (for azure app service)