summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-09-30 23:09:12 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-09-30 23:09:12 +0900
commit68aa1312f5f784a9f8bbd3b88ede8538814884a7 (patch)
treebbcb82db9bd760461792f40f5c0eadeead8fe78a /.github
parentfix(client): ユーザーページのタブが機能していない問題を... (diff)
downloadsharkey-68aa1312f5f784a9f8bbd3b88ede8538814884a7.tar.gz
sharkey-68aa1312f5f784a9f8bbd3b88ede8538814884a7.tar.bz2
sharkey-68aa1312f5f784a9f8bbd3b88ede8538814884a7.zip
dev: developブランチをDocker Hubにpushするように
Resolve #7845
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/docker-develop.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/docker-develop.yml b/.github/workflows/docker-develop.yml
new file mode 100644
index 0000000000..f03ad23ad1
--- /dev/null
+++ b/.github/workflows/docker-develop.yml
@@ -0,0 +1,33 @@
+name: Publish Docker image (develop)
+
+on:
+ push:
+ branches:
+ - develop
+ workflow_dispatch:
+
+jobs:
+ push_to_registry:
+ name: Push Docker image to Docker Hub
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Check out the repo
+ uses: actions/checkout@v2
+ - name: Docker meta
+ id: meta
+ uses: docker/metadata-action@v3
+ with:
+ images: misskey/misskey
+ - name: Log in to Docker Hub
+ uses: docker/login-action@v1
+ with:
+ username: ${{ secrets.DOCKER_USERNAME }}
+ password: ${{ secrets.DOCKER_PASSWORD }}
+ - name: Build and Push to Docker Hub
+ uses: docker/build-push-action@v2
+ with:
+ context: .
+ push: true
+ tags: develop
+ labels: develop