Skip to content

Fix paths for slackwatch.yml #12

Fix paths for slackwatch.yml

Fix paths for slackwatch.yml #12

Workflow file for this run

name: Build and Push Slackwatch Image
on:
push:
branches:
- main
paths:
- 'src/**'
- 'Dockerfile'
- '.github/workflows/slackwatch.yml'
- 'assets/**

Check failure on line 12 in .github/workflows/slackwatch.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/slackwatch.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Log in to GitHub Container Registry
run: docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: ./
file: ./Dockerfile
push: true
tags: ghcr.io/slackspace-io/slackwatch:dev,ghcr.io/slackspace-io/slackwatch:${{ github.sha }}