Skip to content

working for statefulset, but not tested well #57

working for statefulset, but not tested well

working for statefulset, but not tested well #57

Workflow file for this run

name: Build and Push Frontend Docker Image
on:
push:
branches:
- main
paths:
- 'frontend/**'
- '.github/workflows/frontend.yml'
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: ./frontend
file: ./frontend/Dockerfile
push: true
tags: ghcr.io/slackspace-io/slackwatch-fe:latest,ghcr.io/slackspace-io/slackwatch-fe:dev,ghcr.io/slackspace-io/slackwatch-fe:${{ github.sha }}