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
1 change: 1 addition & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,4 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
build-args: |
OPENCODE_VERSION=${{ steps.get_version.outputs.VERSION }}
BUN_VERSION=${{ vars.BUN_VERSION || 'latest' }}
2 changes: 1 addition & 1 deletion .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ jobs:
- name: Build Docker image if Docker assets changed
if: steps.changed-files.outputs.any_changed == 'true'
run: |
docker build -t opencode-cli-pr:latest .
docker build -t opencode-cli-pr:latest --build-arg "BUN_VERSION=${{ vars.BUN_VERSION || 'latest' }}" .
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# hadolint ignore=DL3007
FROM oven/bun:latest
ARG BUN_VERSION="latest"
FROM oven/bun:${BUN_VERSION}

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

Expand Down