Skip to content

Add docker login

Add docker login #6

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file dockerfile.prod --tag acegi123/conestoga-provincial-park:prod
- name: Push the Docker image
run: docker push acegi123/conestoga-provincial-park:prod