Skip to content

Merge pull request #10 from metacpan/haarg/uwsgi-watcher-and-config #8

Merge pull request #10 from metacpan/haarg/uwsgi-watcher-and-config

Merge pull request #10 from metacpan/haarg/uwsgi-watcher-and-config #8

---
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

View workflow run for this annotation

GitHub Actions / Build production container

Invalid workflow file

The workflow is not valid. .github/workflows/build-production-container.yml (Line: 34, Col: 13): A sequence was not expected
tags: metacpan/metacpan-base:latest-slim
platforms: linux/amd64,linux/arm64