Skip to content

Commit

Permalink
Fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ggodlewski committed Jan 15, 2025
1 parent a915c11 commit 473138a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/feat-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ jobs:
- name: Create pull request
run: |
gh_pr_up() {
gh pr create --draft $* --body "${BODY}" || gh pr edit $* --body "${BODY}"
gh pr edit $* --body "${BODY}" || gh pr create --draft $* --body "${BODY}"
}
gh_pr_up --base master --title "${BRANCH_NAME}"
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ VOLUME /data
WORKDIR /usr/src/app

RUN apt-get update
RUN apt-get install -yq bash git-lfs openssh-client curl unzip socat podman-remote
RUN apt-get install -yq bash git-lfs openssh-client curl unzip socat podman
RUN curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local sh

COPY package.json package-lock.json ./
Expand All @@ -31,7 +31,7 @@ WORKDIR "/usr/src/app"
RUN echo 'export GIT_SSH_COMMAND="ssh -i \$(pwd | sed s/_transform.*//)/.private/id_rsa"' >> /etc/profile

# Git 2.47:
RUN apk upgrade git --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main
#RUN apt upgrade git --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main
RUN git config --global --add safe.directory /srv/wikigdrive/*

CMD [ "sh", "-c", "wikigdrive --workdir /data server 3000" ]
6 changes: 4 additions & 2 deletions src/containers/action/DockerContainer.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import path from 'node:path';
import {PassThrough, Writable} from 'node:stream';

import Docker from 'dockerode';
import path from 'path';
import tarFs from 'tar-fs';
import tarStream from 'tar-stream';
import {PassThrough, Writable} from 'stream';
import winston from 'winston';

import {OciContainer} from './OciContainer.ts';
import {BufferWritable} from '../../utils/BufferWritable.ts';

Expand Down

0 comments on commit 473138a

Please sign in to comment.