Workflow file for this run
This file contains hidden or 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 and Push Multi-Arch Docker Images on Release | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| build-and-push: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 코드 체크아웃 | |
| uses: actions/checkout@v3 | |
| - name: Docker Buildx 설치 | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Docker 로그인 | |
| run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin | |
| - name: ai 이미지 빌드 및 푸시 (Multi-Arch) | |
| run: | | |
| docker buildx build \ | |
| --platform linux/amd64,linux/arm64 \ | |
| --push \ | |
| -t ${{ secrets.DOCKER_USERNAME }}/clubfinder-ai:${{ github.ref_name }} \ | |
| ./ai | |
| - name: back 이미지 빌드 및 푸시 (Multi-Arch) | |
| run: | | |
| docker buildx build \ | |
| --platform linux/amd64,linux/arm64 \ | |
| --push \ | |
| -t ${{ secrets.DOCKER_USERNAME }}/clubfinder-back:${{ github.ref_name }} \ | |
| ./backend | |
| - name: front 이미지 빌드 및 푸시 (Multi-Arch) | |
| run: | | |
| docker buildx build \ | |
| --platform linux/amd64,linux/arm64 \ | |
| --push \ | |
| -t ${{ secrets.DOCKER_USERNAME }}/clubfinder-front:${{ github.ref_name }} \ | |
| ./frontend |