Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/workflows/build-api-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,21 @@ jobs:
- uses: actions/checkout@v6
with:
ref: ${{ inputs.ref }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Amazon Linux 2023 build
run: |
docker build . -t api-lambda:latest -f src/api/Elastic.Documentation.Api.Lambda/Dockerfile
uses: docker/build-push-action@v6
with:
context: .
file: src/api/Elastic.Documentation.Api.Lambda/Dockerfile
push: false
load: true
tags: api-lambda:latest
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Get bootstrap binary
run: |
docker cp $(docker create --name tc api-lambda:latest):/app/.artifacts/publish ./.artifacts && docker rm tc
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/build-link-index-updater-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,21 @@ jobs:
- uses: actions/checkout@v6
with:
ref: ${{ inputs.ref }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Amazon Linux 2023 build
run: |
docker build . -t publish-links-index:latest -f src/infra/docs-lambda-index-publisher/lambda.DockerFile
uses: docker/build-push-action@v6
with:
context: .
file: src/infra/docs-lambda-index-publisher/lambda.DockerFile
push: false
load: true
tags: publish-links-index:latest
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Get bootstrap binary
run: |
docker cp $(docker create --name tc publish-links-index:latest):/app/.artifacts/publish ./.artifacts && docker rm tc
Expand Down
Loading