Update upstream to https://github.com/temporalio/docker-builds/commit… #890
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmark | |
on: | |
push: {} | |
workflow_dispatch: {} | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
build-with-docker: | |
name: Build with Docker | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: docker/setup-buildx-action@v2 | |
- uses: docker/setup-qemu-action@v2 | |
- name: Determine upstream commit SHA | |
id: upstream | |
run: echo "::set-output name=sha::$(cd upstream && git rev-parse HEAD)" | |
- name: Build Server image | |
uses: docker/build-push-action@v2 | |
with: | |
context: https://github.com/temporalio/docker-builds.git#${{ steps.upstream.outputs.sha }} | |
file: ./server.Dockerfile | |
platforms: linux/amd64,linux/arm64 | |
build-args: | | |
BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 | |
- name: Build Server image | |
uses: docker/build-push-action@v2 | |
with: | |
context: https://github.com/temporalio/docker-builds.git#${{ steps.upstream.outputs.sha }} | |
file: ./admin-tools.Dockerfile | |
platforms: linux/amd64,linux/arm64 | |
build-args: | | |
BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 | |
SERVER_IMAGE=temporaliotest/server:latest | |
- name: Build Auto Setup | |
uses: docker/build-push-action@v2 | |
with: | |
context: https://github.com/temporalio/docker-builds.git#${{ steps.upstream.outputs.sha }} | |
file: ./auto-setup.Dockerfile | |
platforms: linux/amd64,linux/arm64 | |
build-args: | | |
BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 | |
SERVER_IMAGE=temporaliotest/server:latest | |
ADMIN_TOOLS_IMAGE=temporaliotest/admin-tools:latest | |
build-with-depot: | |
name: Build with Depot | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: depot/setup-action@v1 | |
- name: Determine upstream commit SHA | |
id: upstream | |
run: echo "::set-output name=sha::$(cd upstream && git rev-parse HEAD)" | |
- name: Build Server image | |
uses: depot/build-push-action@v1 | |
with: | |
context: https://github.com/temporalio/docker-builds.git#${{ steps.upstream.outputs.sha }} | |
file: ./server.Dockerfile | |
platforms: linux/amd64,linux/arm64 | |
build-args: | | |
BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 | |
- name: Build Server image | |
uses: depot/build-push-action@v1 | |
with: | |
context: https://github.com/temporalio/docker-builds.git#${{ steps.upstream.outputs.sha }} | |
file: ./admin-tools.Dockerfile | |
platforms: linux/amd64,linux/arm64 | |
build-args: | | |
BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 | |
SERVER_IMAGE=temporaliotest/server:latest | |
- name: Build Auto Setup | |
uses: depot/build-push-action@v1 | |
with: | |
context: https://github.com/temporalio/docker-builds.git#${{ steps.upstream.outputs.sha }} | |
file: ./auto-setup.Dockerfile | |
platforms: linux/amd64,linux/arm64 | |
build-args: | | |
BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 | |
SERVER_IMAGE=temporaliotest/server:latest | |
ADMIN_TOOLS_IMAGE=temporaliotest/admin-tools:latest |