Merge pull request #789 from traPtitech/samber_lo_adapt #126
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
name: Build image for v2 | |
on: | |
push: | |
branches: | |
- v2 | |
env: | |
V2_IMAGE_NAME: jomon-v2 | |
V2_IMAGE_TAG: latest | |
jobs: | |
image-v2: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
packages: write | |
steps: | |
- name: Login to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: traptitech | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build and push | |
uses: docker/build-push-action@v6 | |
with: | |
push: true | |
platforms: linux/amd64 | |
tags: | | |
ghcr.io/traptitech/${{ env.V2_IMAGE_NAME }}:${{ env.V2_IMAGE_TAG }} |