Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Safe Mom
run-name: ${{ github.actor }} is making changes 🚀.

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
name: Build and Push to Docker Hub
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Set up Docker
run: docker --version

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build Docker Image
run: docker build -t sebbiemzing/safe-mom-web:latest .

- name: Push Docker Image to Docker Hub
run: docker push sebbiemzing/safe-mom-web:latest
45 changes: 0 additions & 45 deletions .github/workflows/main.yaml

This file was deleted.