Skip to content

Merge pull request #732 from traPtitech/image-api-log #150

Merge pull request #732 from traPtitech/image-api-log

Merge pull request #732 from traPtitech/image-api-log #150

Workflow file for this run

name: Build image
on:
push:
branches:
- master
env:
IMAGE_NAME: jomon
IMAGE_TAG: latest
jobs:
image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to DockerHub
uses: docker/login-action@v1
with:
registry: ghcr.io
username: traptitech
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
platforms: linux/amd64
tags: |
ghcr.io/traptitech/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}