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"] diff --git a/extensions/dark-hybrid-theme.yaml b/extensions/dark-hybrid-theme.yaml new file mode 100644 index 0000000..19f3657 --- /dev/null +++ b/extensions/dark-hybrid-theme.yaml @@ -0,0 +1,20 @@ +--- +id: com.github.dark-hybrid-theme-sn +github: jakecza/dark-hybrid-theme-sn +main: dist/dist.css + +name: Dark Hybrid +content_type: SN|Theme +area: themes +version: 1.1 +marketing_url: https://github.com/jakecza/dark-hybrid-theme-sn +thumbnail_url: https://raw.githubusercontent.com/jakecza/dark-hybrid-theme-sn/master/preview.png +description: Dark hybrid theme for Standard Notes. + +statusBar: dark-content +dock_icon: + type: circle + background_color: '#726a7b' + foreground_color: '#ffffff' + border_color: '#726a7b' +... diff --git a/extensions/vs-code-theme.yaml b/extensions/vs-code-theme.yaml index 7074492..5adb11e 100644 --- a/extensions/vs-code-theme.yaml +++ b/extensions/vs-code-theme.yaml @@ -1,16 +1,15 @@ --- -id: io.github.xthursdayx.sn-theme-vscode -github: xthursdayx/sn-theme-vscode -main: dist/dist.css +id: io.github.hyphone.sn-theme-vscode +github: hyphone/sn-theme-vscode +main: dist.css name: VS Code Theme content_type: SN|Theme area: themes -version: 1.1.11 -marketing_url: https://github.com/xthursdayx/sn-theme-vscode -thumbnail_url: https://raw.githubusercontent.com/xthursdayx/sn-theme-vscode/master/screenshot.png +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