Skip to content

Commit

Permalink
Add a github actions file
Browse files Browse the repository at this point in the history
  • Loading branch information
abeltje committed Apr 27, 2024
1 parent b5273ef commit 8986867
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build-deployment-container.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
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

0 comments on commit 8986867

Please sign in to comment.