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
3
3
on :
4
4
push :
5
5
branches :
6
- - pcnc/fly-fixes
6
+ - pcnc/trigger-build
7
7
paths :
8
8
- " .github/workflows/dockerhub-release-aio.yml"
9
9
- " 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 && \
221
221
RUN mkdir -p /etc/wal-g && \
222
222
chown -R adminapi:adminapi /etc/wal-g && \
223
223
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
225
225
RUN chown -R adminapi:adminapi /etc/adminapi
226
226
227
227
# Add healthcheck and entrypoint scripts
Original file line number Diff line number Diff line change 177
177
export INIT_PAYLOAD_PATH=${INIT_PAYLOAD_PATH:-/ tmp/ payload.tar.gz}
178
178
179
179
if [ " ${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
182
184
fi
183
185
184
186
if [ " ${DATA_VOLUME_MOUNTPOINT} " ]; then
@@ -190,7 +192,7 @@ if [ "${DATA_VOLUME_MOUNTPOINT}" ]; then
190
192
ln -s " ${BASE_LOGS_FOLDER} /${folder} " " /var/log/${folder} "
191
193
done
192
194
193
- chown -R postgres:postgres " ${LOGS_FOLDER } "
195
+ chown -R postgres:postgres " ${BASE_LOGS_FOLDER } "
194
196
fi
195
197
196
198
# Process init payload
You can’t perform that action at this time.
0 commit comments