Clean unnecessary platform build

This commit is contained in:
Adria Navarro 2023-10-05 13:18:58 +02:00
parent 42b6489905
commit 355c9ea284
1 changed files with 14 additions and 14 deletions

View File

@ -26,7 +26,6 @@ jobs:
with: with:
submodules: true submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
fetch-depth: 0
# - name: Fail if tag is not in master # - name: Fail if tag is not in master
# run: | # run: |
@ -67,20 +66,21 @@ jobs:
context: . context: .
push: true push: true
pull: true pull: true
platforms: linux/amd64,linux/arm64 # platforms: linux/amd64,linux/arm64
platforms: linux/amd64
tags: budibase/budibase-test:test tags: budibase/budibase-test:test
file: ./hosting/single/Dockerfile file: ./hosting/single/Dockerfile
cache-from: type=registry,ref=budibase/budibase-test:test cache-from: type=registry,ref=budibase/budibase-test:test
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@v5 # uses: docker/build-push-action@v5
with: # with:
context: . # context: .
push: true # push: true
pull: true # pull: true
platforms: linux/amd64 # platforms: linux/amd64
build-args: TARGETBUILD=aas # build-args: TARGETBUILD=aas
tags: budibase/budibase-test:aas # tags: budibase/budibase-test:aas
file: ./hosting/single/Dockerfile # file: ./hosting/single/Dockerfile
cache-from: type=registry,ref=budibase/budibase-test:aas # cache-from: type=registry,ref=budibase/budibase-test:aas
cache-to: type=inline # cache-to: type=inline