Skip to content

Commit 21904c8

Browse files
authored
chore: fix symlink location; access mode; docker image mirroring (#712)
1 parent e48b505 commit 21904c8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/dockerhub-release-aio.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,5 @@ jobs:
106106
# Call workflow explicitly because events from actions cannot trigger more actions
107107
uses: ./.github/workflows/mirror.yml
108108
with:
109-
version: ${{ needs.settings.outputs.docker_version }}
109+
version: aio-${{ needs.settings.outputs.docker_version }}
110110
secrets: inherit

docker/all-in-one/configure-shim.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
INITIAL_BINARY_PATH=$1
44
SYMLINK_PATH=$2
55

6-
SYMLINK_TARGET=$(readlink -f "$SYMLINK_PATH")
6+
SYMLINK_TARGET=$(readlink -m "$SYMLINK_PATH")
77

88
if [ ! -f "$SYMLINK_TARGET" ]; then
99
cp "$INITIAL_BINARY_PATH" "$SYMLINK_TARGET"

docker/all-in-one/entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ function setup_postgres {
8686
$PG_CONF
8787

8888
if [ "${DATA_VOLUME_MOUNTPOINT}" ]; then
89+
mkdir -p "${DATA_VOLUME_MOUNTPOINT}/opt"
8990
/usr/local/bin/configure-shim.sh /dist/supabase-admin-api /opt/supabase-admin-api
9091
/opt/supabase-admin-api optimize db --destination-config-file-path /etc/postgresql-custom/generated-optimizations.conf
9192

0 commit comments

Comments
 (0)