mirror of
https://github.com/m0wer/tiddlywiki-docker.git
synced 2026-01-23 10:26:08 +00:00
Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e1189048d9 | ||
|
|
7e13280efb | ||
|
|
3c862c8e89 | ||
|
|
00c8f052e5 |
2 changed files with 5 additions and 3 deletions
7
.github/workflows/docker.yml
vendored
7
.github/workflows/docker.yml
vendored
|
|
@ -9,6 +9,7 @@ on:
|
|||
- '**'
|
||||
tags:
|
||||
- '*.*.*'
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
|
@ -50,15 +51,15 @@ jobs:
|
|||
|
||||
- name: Login to DockerHub
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
|
|
|||
|
|
@ -10,4 +10,5 @@ WORKDIR /var/lib/tiddlywiki
|
|||
ADD init-and-run-wiki /usr/local/bin/init-and-run-wiki
|
||||
|
||||
# Meta
|
||||
ENTRYPOINT ["/bin/sh"]
|
||||
CMD ["/usr/local/bin/init-and-run-wiki"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue