Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions .github/workflows/aws-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ jobs:
file: ./contracts/dockerfile-actions
push: true
ssh: default
build-args: |
GIT_COMMIT_SHA=${{ github.sha }}
tags: |
${{ env.ECR_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}

Expand Down
7 changes: 7 additions & 0 deletions contracts/dockerfile-actions
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,12 @@ ENV MAINNET_PROVIDER_URL="" \
BEACON_PROVIDER_URL="" \
HARDHAT_NETWORK=""

# Git commit this image was built from. CI passes
# --build-arg GIT_COMMIT_SHA=<github.sha>; empty for local builds. @talos/client's
# runContainer reports it as the runner's `version`, letting the admin announce
# redeploys to Discord.
ARG GIT_COMMIT_SHA=""
ENV GIT_COMMIT_SHA=$GIT_COMMIT_SHA

USER runner
CMD ["bun", "run", "runner.ts"]
Loading