Skip to content

Create manifest.yml #34

Create manifest.yml

Create manifest.yml #34

name: Publish frontend Docker image
on:
push:
branches:
- master
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Build Docker image
run: docker build -t ghcr.io/${{ github.repository_owner }}/scope-frontend:latest ./frontend
- name: Push Docker image
run: docker push ghcr.io/${{ github.repository_owner }}/scope-frontend:latest