Skip to content

Merge branch 'main' of https://github.com/commons-stack/praise #341

Merge branch 'main' of https://github.com/commons-stack/praise

Merge branch 'main' of https://github.com/commons-stack/praise #341

name: Frontend/Development - Create and publish Docker image
on:
push:
branches: ['main']
env:
IMAGE_NAME: praise-dev/frontend
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
name: Check out code
- uses: mr-smithers-excellent/docker-build-push@v5
name: Build and push Docker image
with:
image: $IMAGE_NAME
tags: latest
addTimestamp: true
registry: ghcr.io
dockerfile: packages/frontend/Dockerfile
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}