Skip to content

Build deployment container (Web-frontend) #3

Build deployment container (Web-frontend)

Build deployment container (Web-frontend) #3

---
name: Build deployment container (Web-frontend)
on:
push:
branches:
- main
- preview
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/perl5-coresmokedb-web:latest
- 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/perl5-coresmokedb-web:latest