Skip to content

patched CVE-2023-48309⁠, CVE-2023-46298⁠ & CVE-2023-4316⁠ #3

patched CVE-2023-48309⁠, CVE-2023-46298⁠ & CVE-2023-4316⁠

patched CVE-2023-48309⁠, CVE-2023-46298⁠ & CVE-2023-4316⁠ #3

name: Build and Deploy the Image
on:
workflow_dispatch: # To have the ability to run the workflow manually
push:
branches: [main]
pull_request:
branches: [main]
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build the Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
nairol/spotify-stats:${{ github.run_number }}
nairol/spotify-stats:latest