Skip to content

Commit

Permalink
fix to Dockerfile.example, add subpath to gcs asset upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Isla committed Oct 7, 2021
1 parent ca05d95 commit 10cbc19
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_publish_changed_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
with:
files: |
src
Dockerfile
^Dockerfile$
pyproject.toml
setup.cfg
- run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
docker rm copy
# Copy to GCS
gsutil cp /tmp/selkies-gstreamer-${RELEASE_VERSION}.tgz gs://selkies-project-releases/selkies-gstreamer/
gsutil cp /tmp/selkies-gstreamer-${RELEASE_VERSION}.tgz gs://selkies-project-releases/selkies-gstreamer/${RELEASE_VERSION}/
echo ::set-output name=asset_path::/tmp/selkies-gstreamer-${RELEASE_VERSION}.tgz
echo ::set-output name=asset_name::selkies-gstreamer-${RELEASE_VERSION}.tgz
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
docker rm copy
# Copy to GCS
gsutil cp /tmp/${PYPI_PACKAGE}-${PACKAGE_VERSION}-py3-none-any.whl gs://selkies-project-releases/selkies-gstreamer/
gsutil cp /tmp/${PYPI_PACKAGE}-${PACKAGE_VERSION}-py3-none-any.whl gs://selkies-project-releases/selkies-gstreamer/${RELEASE_VERSION}/
echo ::set-output name=asset_path::/tmp/${PYPI_PACKAGE}-${PACKAGE_VERSION}-py3-none-any.whl
echo ::set-output name=asset_name::${PYPI_PACKAGE}-${PACKAGE_VERSION}-py3-none-any.whl
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
docker rm copy
# Copy to GCS
gsutil cp /tmp/selkies-gstreamer-web-${RELEASE_VERSION}.tgz gs://selkies-project-releases/selkies-gstreamer/
gsutil cp /tmp/selkies-gstreamer-web-${RELEASE_VERSION}.tgz gs://selkies-project-releases/selkies-gstreamer/${RELEASE_VERSION}/
echo ::set-output name=asset_path::/tmp/selkies-gstreamer-web-${RELEASE_VERSION}.tgz
echo ::set-output name=asset_name::selkies-gstreamer-web-${RELEASE_VERSION}.tgz
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.example
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ RUN \
/opt/gst-web/sw.js

# Install selkies-gstreamer python app
ARG PYPI_PACKAGE=selkies_gstreamer_disla
ARG PYPI_PACKAGE=selkies_gstreamer
ARG PACKAGE_VERSION=1.0.0.dev0
COPY --from=selkies-build /opt/pypi/dist/${PYPI_PACKAGE}-${PACKAGE_VERSION}-py3-none-any.whl .
RUN pip3 install /opt/${PYPI_PACKAGE}-${PACKAGE_VERSION}-py3-none-any.whl
Expand Down

0 comments on commit 10cbc19

Please sign in to comment.