Skip to content

Merge pull request #22 from azuki774/alert-mail #25

Merge pull request #22 from azuki774/alert-mail

Merge pull request #22 from azuki774/alert-mail #25

Workflow file for this run

name: Build and Publish Docker
on:
push:
tags:
- v*
jobs:
build_and_push_remix:
runs-on: ubuntu-latest
env:
IMAGE_NAME: bill-fetcher-remix
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set meta
id: meta
uses: docker/metadata-action@v3
with:
# list of Docker images to use as base name for tags
images: |
ghcr.io/azuki774/bill-fetcher-remix
# generate Docker tags based on the following events/attributes
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=semver,pattern=latest
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_ACCESS_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./build/Dockerfile-remix
push: true
tags: ${{ steps.meta.outputs.tags }}
build_and_push_sbi:
runs-on: ubuntu-latest
env:
IMAGE_NAME: bill-fetcher-sbi
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set meta
id: meta
uses: docker/metadata-action@v3
with:
# list of Docker images to use as base name for tags
images: |
ghcr.io/azuki774/bill-fetcher-sbi
# generate Docker tags based on the following events/attributes
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=semver,pattern=latest
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_ACCESS_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./build/Dockerfile-sbi
push: true
tags: ${{ steps.meta.outputs.tags }}
build_and_push_tokyowater:
runs-on: ubuntu-latest
env:
IMAGE_NAME: bill-fetcher-tokyowater
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set meta
id: meta
uses: docker/metadata-action@v3
with:
# list of Docker images to use as base name for tags
images: |
ghcr.io/azuki774/bill-fetcher-tokyowater
# generate Docker tags based on the following events/attributes
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=semver,pattern=latest
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_ACCESS_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./build/Dockerfile-tokyowater
push: true
tags: ${{ steps.meta.outputs.tags }}
build_and_push_nicigas:
runs-on: ubuntu-latest
env:
IMAGE_NAME: bill-fetcher-nicigas
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set meta
id: meta
uses: docker/metadata-action@v3
with:
# list of Docker images to use as base name for tags
images: |
ghcr.io/azuki774/bill-fetcher-nicigas
# generate Docker tags based on the following events/attributes
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=semver,pattern=latest
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_ACCESS_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./build/Dockerfile-nicigas
push: true
tags: ${{ steps.meta.outputs.tags }}
build_and_push_money_forward:
runs-on: ubuntu-latest
env:
IMAGE_NAME: bill-fetcher-money-forward
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set meta
id: meta
uses: docker/metadata-action@v3
with:
# list of Docker images to use as base name for tags
images: |
ghcr.io/azuki774/bill-fetcher-money-forward
# generate Docker tags based on the following events/attributes
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=semver,pattern=latest
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_ACCESS_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./build/Dockerfile-money-forward
push: true
tags: ${{ steps.meta.outputs.tags }}