mirror of https://github.com/coder/coder.git
chore: fix depot build (#6057)
This commit is contained in:
parent
b45c445255
commit
d6947aeaca
|
@ -15,6 +15,13 @@ on:
|
|||
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
# Necessary to push docker images to ghcr.io.
|
||||
packages: write
|
||||
# Necessary for depot.dev authentication.
|
||||
id-token: write
|
||||
|
||||
# Avoid running multiple jobs for the same commit.
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-docker-base
|
||||
|
|
|
@ -112,8 +112,8 @@ fi
|
|||
cdroot
|
||||
temp_dir="$(TMPDIR="$(dirname "$input_file")" mktemp -d)"
|
||||
ln "$input_file" "$temp_dir/coder"
|
||||
ln Dockerfile.base "$temp_dir/"
|
||||
ln Dockerfile "$temp_dir/"
|
||||
ln ./scripts/Dockerfile.base "$temp_dir/"
|
||||
ln ./scripts/Dockerfile "$temp_dir/"
|
||||
|
||||
cd "$temp_dir"
|
||||
|
||||
|
|
Loading…
Reference in New Issue