Skip to content

Fixed 2 bugs

Fixed 2 bugs #30

Workflow file for this run

name: Build and Push Slackwatch Image
on:
push:
branches:
- main
paths:
- 'src/**'
- 'Dockerfile'
- 'assets/**'
concurrency:
group: "slackwatch"
cancel-in-progress: true
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:preview,ghcr.io/slackspace-io/slackwatch:${{ github.sha }}
cache-from: type=registry,ref=ghcr.io/slackspace-io/slackwatch:pr-build-cache
cache-to: type=registry,ref=ghcr.io/slackspace-io/slackwatch:pr-build-cache,mode=max