Skip to content

fix: pi/Dockerfile to reduce vulnerabilities #70

fix: pi/Dockerfile to reduce vulnerabilities

fix: pi/Dockerfile to reduce vulnerabilities #70

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ '*' ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Retrieve tag
run: |
bash ./.github/tag.sh >> $GITHUB_ENV
id: tag
- name: Build the Docker image
run: docker build ./pi --file ./pi/Dockerfile --tag uk-power-monitor:"${{ env.TAG }}"