chore: multi-arch dp image (#35098)
This commit is contained in:
parent
d30191c287
commit
21962be8f7
|
|
@ -179,8 +179,8 @@ jobs:
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_HUB_CLOUD_USERNAME }}
|
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_HUB_CLOUD_ACCESS_TOKEN }}
|
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
||||||
|
|
||||||
- name: Set base image tag
|
- name: Set base image tag
|
||||||
id: set_base_tag
|
id: set_base_tag
|
||||||
|
|
@ -192,18 +192,10 @@ jobs:
|
||||||
fi
|
fi
|
||||||
echo "base_tag=$base_tag" >> $GITHUB_OUTPUT
|
echo "base_tag=$base_tag" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
with:
|
|
||||||
version: "lab:latest"
|
|
||||||
driver: cloud
|
|
||||||
endpoint: "appsmith/appsmith-builder"
|
|
||||||
|
|
||||||
- name: Push to Docker Hub
|
- name: Push to Docker Hub
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64
|
|
||||||
pull: true
|
pull: true
|
||||||
push: true
|
push: true
|
||||||
cache-from: ${{ vars.DOCKER_HUB_ORGANIZATION }}/appsmith-${{ vars.EDITION }}:release
|
cache-from: ${{ vars.DOCKER_HUB_ORGANIZATION }}/appsmith-${{ vars.EDITION }}:release
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user