Skip to content

Update README.md

Update README.md #29

Workflow file for this run

name: Docker Image CI
on:
push:
branches:
- main
permissions:
packages: write
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the Docker image
run: docker build . -t ghcr.io/johnathancrow/shoppinglist:latest
- name: Push the Docker image
run: docker push ghcr.io/johnathancrow/shoppinglist:latest