Merge pull request #10 from metacpan/haarg/uwsgi-watcher-and-config #8
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 production container | ||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
jobs: | ||
docker: | ||
runs-on: ubuntu-22.04 | ||
name: Docker push deployment | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_HUB_USER }} | ||
password: ${{ secrets.DOCKER_HUB_TOKEN }} | ||
- name: Build and push latest | ||
uses: docker/build-push-action@v5 | ||
with: | ||
push: true | ||
tags: metacpan/metacpan-base:latest | ||
platforms: linux/amd64,linux/arm64 | ||
- name: Build and push latest-slim | ||
uses: docker/build-push-action@v5 | ||
with: | ||
push: true | ||
build-arg: | ||
- SLIM_BUILD=1 | ||
Check failure on line 34 in .github/workflows/build-production-container.yml GitHub Actions / Build production containerInvalid workflow file
|
||
tags: metacpan/metacpan-base:latest-slim | ||
platforms: linux/amd64,linux/arm64 |