Skip to content

Commit f7f0666

Browse files
committed
build from ./docker context
1 parent edbb59f commit f7f0666

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
with:
9393
push: ${{ env.PUSH_PACKAGES == 'true' }}
9494
builder: ${{ steps.buildx.outputs.name }}
95-
context: .
95+
context: docker
9696
file: ./docker/Dockerfile.runner
9797
platforms: linux/${{ matrix.type}}
9898
build-args: |

docker/Dockerfile.runner

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG LAMBDA_IMAGE="amazon/aws-lambda-provided:al2"
22
ARG RIE_ARCH="amd64"
33

4-
FROM --platform=$TARGETPLATFORM condaforge/miniforge3:latest as condasetup
4+
FROM condaforge/miniforge3:latest AS condasetup
55
LABEL MAINTAINER="Howard Butler <[email protected]>"
66

77
ARG TARGETPLATFORM
@@ -32,7 +32,7 @@ RUN conda-pack -n ${CONDA_ENV_NAME} --dest-prefix=/var/task -o /tmp/env.tar && \
3232
rm /tmp/env.tar
3333

3434

35-
FROM --platform=$TARGETPLATFORM ${LAMBDA_IMAGE:?} as al2
35+
FROM --platform=$TARGETPLATFORM ${LAMBDA_IMAGE:?} AS al2
3636

3737
ARG RIE_ARCH
3838
ARG LAMBDA_IMAGE

0 commit comments

Comments
 (0)