Skip to content

Commit

Permalink
Fixes [stage]
Browse files Browse the repository at this point in the history
  • Loading branch information
crschnick committed Sep 18, 2024
1 parent ac87d57 commit 93aca67
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/docker-build.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
echo "XPIPE_VERSION=$XPIPE_VERSION" >> $GITHUB_ENV
XPIPE_REPOSITORY=${{ contains(github.event.head_commit.message, '[release]') == true && 'xpipe-io/xpipe' || 'xpipe-io/xpipe-ptb' }}
echo "XPIPE_REPOSITORY=$XPIPE_REPOSITORY" >> $GITHUB_ENV
XPIPE_PACKAGE=${{ contains(github.event.head_commit.message, '[release]') == true && 'xpipe' || 'xpipe-ptb' }}
echo "XPIPE_PACKAGE=$XPIPE_PACKAGE" >> $GITHUB_ENV
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
Expand Down Expand Up @@ -56,6 +58,7 @@ jobs:
build-args: |
"XPIPE_VERSION=${{ env.XPIPE_VERSION }}"
"XPIPE_REPOSITORY=${{ env.XPIPE_REPOSITORY }}"
"XPIPE_PACKAGE=${{ env.XPIPE_PACKAGE }}"
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ARG DEBIAN_FRONTEND="noninteractive"
ENV TITLE="XPipe Webtop"
ARG XPIPE_VERSION
ARG XPIPE_REPOSITORY
ARG XPIPE_PACKAGE

# prevent Ubuntu's firefox stub from being installed
COPY /root/etc/apt/preferences.d/firefox-no-snap /etc/apt/preferences.d/firefox-no-snap
Expand Down Expand Up @@ -76,4 +77,4 @@ RUN echo "**** XPipe ****" && \
apt-get install --no-install-recommends -y "./xpipe-installer-linux-x86_64.deb" && \
rm "./xpipe-installer-linux-x86_64.deb"

RUN mkdir -p "/config/.config/kdedefaults/autostart/" && ln -s "/usr/share/applications/xpipe.desktop" "/config/.config/kdedefaults/autostart/xpipe.desktop"
RUN mkdir -p "/config/.config/kdedefaults/autostart/" && ln -s "/usr/share/applications/$XPIPE_PACKAGE.desktop" "/config/.config/kdedefaults/autostart/$XPIPE_PACKAGE.desktop"

0 comments on commit 93aca67

Please sign in to comment.