This repository has been archived by the owner on May 6, 2024. It is now read-only.
chore(deps): update dependency eslint-plugin-n to v17.1.0 #1081
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/switchbot-logger-logger", context: "logger", file: "logger/Dockerfile", packageName: "switchbot-logger-logger" }, | |
{ imageName: "tomacheese/switchbot-logger-viewer", context: "viewer", file: "viewer/Dockerfile", packageName: "switchbot-logger-viewer" } | |
] | |
secrets: | |
DOCKER_USERNAME: ${{ github.actor }} | |
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }} |