Skip to content

Merge pull request #10 from metacpan/recent-rdf #2

Merge pull request #10 from metacpan/recent-rdf

Merge pull request #10 from metacpan/recent-rdf #2

---
name: Build production container
on:
push:
branches:
- master
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-22.04
name: Docker Push
steps:
- uses: actions/checkout@v3
- name: docker build
run: docker build . -t metacpan/sco-redirect:latest
- name: run Perl tests
run: docker run -i metacpan/sco-redirect sh -c "prove -lr --jobs 2 t"
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Push build to Docker Hub
run: docker push metacpan/sco-redirect:latest