Skip to content

[WIP] Fix Dependabot not opening security update PR (#4) #10

[WIP] Fix Dependabot not opening security update PR (#4)

[WIP] Fix Dependabot not opening security update PR (#4) #10

name: Build and Push Docker Image to GHCR
permissions:
contents: read
on:
push:
branches: [ main ]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Log in to GitHub Container Registry
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GHCR_PAT }}
- name: Build and push Docker image
uses: docker/build-push-action@v7
with:
context: .
push: true
tags: ghcr.io/dvir001/simple-contacts:latest