Files
YNWA Fawzy b374a27f94 Enhancements:
- bump packages versions.
- add product image and product link to feed.
- Move the rss to notification instead of tempalte
- new product list layout ( still in work)

Fixes:
- fix authentication not required.
- add docker link to README.md
- update discord link
- clear cache when new store is added for a product

In Progress:
- walmart might not work properly as i am still working on it

Took 4 hours 50 minutes
2024-12-04 19:32:15 +04:00

39 lines
985 B
YAML

name: Publish Docker image
on:
push:
branches:
- '*'
# release:
# types: [published]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout the codebase
uses: actions/checkout@v4
- name: Login to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository_owner }}/discount-bandit
flavor: |
latest=true
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: ./
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}