From b7e5a80b2151a7bb7c0e8727988c8a43427ba9d2 Mon Sep 17 00:00:00 2001 From: mtoohey31 Date: Wed, 10 Nov 2021 23:43:14 -0500 Subject: [PATCH 1/3] ci: add container publishing workflow --- .github/workflows/publish.yaml | 22 ++++++++++++++++++++++ Dockerfile | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..fd4f213 --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,22 @@ +name: Publish container +on: + push: + branches: + - master + workflow_dispatch: +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Login to Docker Hub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKER_HUB_TOKEN }} + password: ${{ secrets.DOCKER_HUB_TOKEN }} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - name: Publish container to Docker Hub + run: docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 --tag "mtoohey/standardnotes-extensions:$(git log -1 --format="%H" | cut -c -6)" --tag mtoohey/standardnotes-extensions:latest --push . diff --git a/Dockerfile b/Dockerfile index 5cd54d8..1085861 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,6 @@ FROM python:3-alpine WORKDIR /build COPY requirements.txt build_repo.py ./ -RUN pip3 install -r requirements.txt +RUN pip3 install --no-cache-dir -r requirements.txt -ENTRYPOINT python3 build_repo.py +ENTRYPOINT ["python3", "build_repo.py"] From 4b8ed6a3a280b9b827abc6a547b3247f46ec164a Mon Sep 17 00:00:00 2001 From: CREVIO GmbH <19938572+CREVIO@users.noreply.github.com> Date: Mon, 15 Nov 2021 13:56:57 +0100 Subject: [PATCH 2/3] Fixing typo in dar-hybrid-theme --- extensions/dark-hybrid-theme.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/dark-hybrid-theme.yaml b/extensions/dark-hybrid-theme.yaml index 537b7c1..19f3657 100644 --- a/extensions/dark-hybrid-theme.yaml +++ b/extensions/dark-hybrid-theme.yaml @@ -1,4 +1,4 @@ - --- +--- id: com.github.dark-hybrid-theme-sn github: jakecza/dark-hybrid-theme-sn main: dist/dist.css From d1a71cfc4deaa54c9641d189c1975c4f0b540922 Mon Sep 17 00:00:00 2001 From: marco Date: Fri, 26 Nov 2021 15:58:36 +0100 Subject: [PATCH 3/3] corrected dist.css path --- extensions/vs-code-theme.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/extensions/vs-code-theme.yaml b/extensions/vs-code-theme.yaml index 5c346ad..5adb11e 100644 --- a/extensions/vs-code-theme.yaml +++ b/extensions/vs-code-theme.yaml @@ -1,15 +1,16 @@ --- id: io.github.hyphone.sn-theme-vscode github: hyphone/sn-theme-vscode -main: dist/dist.css +main: dist.css name: VS Code Theme content_type: SN|Theme area: themes -version: 1.0.16 +version: 1.0.30 marketing_url: https://github.com/hyphone/sn-theme-vscode thumbnail_url: https://github.com/hyphone/sn-theme-vscode/raw/master/screenshot.png description: A theme for Standard Notes inspired by the VS Code Dark theme. +statusBar: dark-content dock_icon: type: circle background_color: '#252526'