build amd64+arm64 #11
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 container | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| - prod | ||
| - staging | ||
| workflow_dispatch: | ||
| jobs: | ||
| docker: | ||
| runs-on: ubuntu-latest | ||
| name: Docker build and push | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: metacpan/metacpan-actions/docker-build-push@master | ||
| id: build-push | ||
| with: | ||
| docker_hub_username: ${{ secrets.DOCKER_HUB_USER }} | ||
| docker_hub_password: ${{ secrets.DOCKER_HUB_TOKEN }} | ||
| ghcr_username: ${{ github.repository_owner }} | ||
| ghcr_password: ${{ secrets.GITHUB_TOKEN }} | ||
| platforms: linux/amd64,linux/arm64 | ||
| - uses: metacpan/metacpan-actions/docker-build-push@master | ||
| id: build-push | ||
|
Check failure on line 25 in .github/workflows/build-container.yml
|
||
| with: | ||
| docker_hub_username: ${{ secrets.DOCKER_HUB_USER }} | ||
| docker_hub_password: ${{ secrets.DOCKER_HUB_TOKEN }} | ||
| ghcr_username: ${{ github.repository_owner }} | ||
| ghcr_password: ${{ secrets.GITHUB_TOKEN }} | ||
| platforms: linux/amd64,linux/arm64 | ||
| slim: true | ||