Skip to content

[Snyk] Security upgrade node from 20.4-bookworm-slim to 20.18.0-bookworm-slim #40

[Snyk] Security upgrade node from 20.4-bookworm-slim to 20.18.0-bookworm-slim

[Snyk] Security upgrade node from 20.4-bookworm-slim to 20.18.0-bookworm-slim #40

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ghcr.io/killahb33/rgb-matrix-app:$(date +%Y%m%d) --tag ghcr.io/killahb33/rgb-matrix-app:latest
- name: Login to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Push Docker image
run: |
docker push ghcr.io/killahb33/rgb-matrix-app:latest
docker push ghcr.io/killahb33/rgb-matrix-app:$(date +%Y%m%d)