File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Release AIO image on Dockerhub
33on :
44 push :
55 branches :
6- - pcnc/fly-fixes
6+ - pcnc/trigger-build
77 paths :
88 - " .github/workflows/dockerhub-release-aio.yml"
99 - " docker/all-in-one/*"
Original file line number Diff line number Diff line change 1- postgres-version = " 15.1.0.93 "
1+ postgres-version = " 15.1.0.92 "
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ RUN useradd --create-home --shell /bin/bash postgrest && \
221221RUN mkdir -p /etc/wal-g && \
222222 chown -R adminapi:adminapi /etc/wal-g && \
223223 chmod g+w /etc/wal-g
224- RUN mkdir -p /var/log/wal-g && chown -R postgres:postgres /var/log/wal-g && chmod +x /usr/bin/admin-mgr && chmod ug+s /usr/bin/admin-mgr && touch /etc/wal-g/config.json && chown adminapi:adminapi /etc/wal-g/config.json
224+ RUN mkdir -p /var/log/wal-g && chown -R postgres:postgres /var/log/wal-g && chmod +x /usr/bin/admin-mgr && chmod ug+s /usr/bin/admin-mgr && touch /etc/wal-g/config.json && chown adminapi:adminapi /etc/wal-g/config.json && echo '{}' > /etc/wal-g/config.json
225225RUN chown -R adminapi:adminapi /etc/adminapi
226226
227227# Add healthcheck and entrypoint scripts
Original file line number Diff line number Diff line change 177177export INIT_PAYLOAD_PATH=${INIT_PAYLOAD_PATH:-/ tmp/ payload.tar.gz}
178178
179179if [ " ${INIT_PAYLOAD_PRESIGNED_URL:- } " ]; then
180- curl -fsSL " $INIT_PAYLOAD_PRESIGNED_URL " -o " /tmp/payload.tar.gz"
181- mv " /tmp/payload.tar.gz" " $INIT_PAYLOAD_PATH "
180+ curl -fsSL " $INIT_PAYLOAD_PRESIGNED_URL " -o " /tmp/payload.tar.gz" || true
181+ if [ -f " /tmp/payload.tar.gz" ]; then
182+ mv " /tmp/payload.tar.gz" " $INIT_PAYLOAD_PATH "
183+ fi
182184fi
183185
184186if [ " ${DATA_VOLUME_MOUNTPOINT} " ]; then
@@ -190,7 +192,7 @@ if [ "${DATA_VOLUME_MOUNTPOINT}" ]; then
190192 ln -s " ${BASE_LOGS_FOLDER} /${folder} " " /var/log/${folder} "
191193 done
192194
193- chown -R postgres:postgres " ${LOGS_FOLDER } "
195+ chown -R postgres:postgres " ${BASE_LOGS_FOLDER } "
194196fi
195197
196198# Process init payload
You can’t perform that action at this time.
0 commit comments