Skip to content

Merge pull request #42 from NekoAria/main #21

Merge pull request #42 from NekoAria/main

Merge pull request #42 from NekoAria/main #21

Workflow file for this run

name: Push Docker image to Docker Hub
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
if: github.repository == 'electh/ReactFlux'
steps:
- uses: actions/checkout@v4
- name: Log in to Docker Hub
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@v5
with:
context: .
push: true
tags: electh/reactflux:latest