This repository has been archived by the owner on Apr 27, 2024. It is now read-only.
chore(deps): update dependency express-rate-limit to v7 #542
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 任意のレジストリに Docker image を公開orビルドする。 | |
# プルリクの作成・更新時に動作する。 | |
name: Docker | |
on: | |
pull_request: | |
branches: | |
- main | |
- master | |
types: | |
- opened | |
- synchronize | |
paths: | |
- .github/workflows/docker.yml | |
pull_request_target: | |
branches: | |
- main | |
- master | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- closed | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.merged == true && 'master' || github.event.pull_request.head.sha }} | |
jobs: | |
docker-ci: | |
name: Docker CI | |
uses: book000/templates/.github/workflows/reusable-docker.yml@master | |
with: | |
targets: >- | |
[ | |
{ imageName: "tomacheese/mcbans-cache-server-api", context: "api", file: "api/Dockerfile", packageName: "mcbans-cache-server-api" }, | |
{ imageName: "tomacheese/mcbans-cache-server-fetcher", context: "fetcher", file: "fetcher/Dockerfile", packageName: "mcbans-cache-server-fetcher" } | |
] | |
secrets: | |
DOCKER_USERNAME: ${{ github.actor }} | |
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }} |