Skip to content

squashme2

squashme2 #3

name: Publish frontend Docker image
on:
push:
branches:
- update-and-dockerize
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
ref: update-and-dockerize

Check failure on line 14 in .github/workflows/publish_frontend.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish_frontend.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
- 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