Skip to content

⭐ feat : updated articles install command #92

⭐ feat : updated articles install command

⭐ feat : updated articles install command #92

name: Build and Push Notification Docker Image
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Build Docker image
run: |
cd backend/notifications && docker build . --tag notifications_service:latest
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push Docker image to GitHub Container Registry
run: |
docker tag notifications_service:latest ghcr.io/tomdieu/wikiculture/notifications_service:latest
docker push ghcr.io/tomdieu/wikiculture/notifications_service:latest