Skip to content

Commit

Permalink
test release
Browse files Browse the repository at this point in the history
  • Loading branch information
jleaniz committed Sep 27, 2023
1 parent 22e9d1c commit 7d612dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI

on: push
on:
release:
types: [published]

jobs:
build:
Expand Down Expand Up @@ -75,12 +77,6 @@ jobs:
inputs: >-
./dist/*.tar.gz
./dist/*.whl
- name: Create new Github Release
env:
GITHUB_TOKEN: ${{ github.token }}
run: >-
gh release create '${{ github.ref_name }}'
--generate-notes --repo '${{ github.repository }}'
- name: Upload artifact signatures to GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
Expand Down
2 changes: 2 additions & 0 deletions docker/api_server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ COPY --from=build-stage /tmp/web/dist /web/dist
RUN apt-get update && apt-get -y upgrade
RUN apt-get -y install git python3-pip
RUN pip3 install pip --upgrade

ARG RELEASE_TAG
RUN pip3 install turbinia==$RELEASE_TAG

RUN useradd -r -s /bin/nologinpoet -u 999 turbinia
RUN mkdir /etc/turbinia && mkdir -p /mnt/turbinia/ && mkdir -p /var/lib/turbinia/ \
&& mkdir -p /var/log/turbinia/ && chown -R turbinia:turbinia /mnt/turbinia/ \
Expand Down

0 comments on commit 7d612dc

Please sign in to comment.