Skip to content

Merge pull request #57 from Moonsong-Labs/dependabot/npm_and_yarn/pac… #23

Merge pull request #57 from Moonsong-Labs/dependabot/npm_and_yarn/pac…

Merge pull request #57 from Moonsong-Labs/dependabot/npm_and_yarn/pac… #23

Workflow file for this run

name: Push master to docker
on:
push:
branches:
- master
workflow_dispatch:
inputs:
reason:
description: 'Reason for manual trigger'
required: false
default: 'Manual build and push'
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
file: docker/Dockerfile
push: true
tags: |
moonsonglabs/pjs-ui:${{ github.sha }}
moonsonglabs/pjs-ui:latest