Skip to content

Bump certifi from 2019.11.28 to 2023.7.22 #173

Bump certifi from 2019.11.28 to 2023.7.22

Bump certifi from 2019.11.28 to 2023.7.22 #173

Workflow file for this run

name: CI/CD
on:
push:
branches:
- "*"
tags:
- "*"
pull_request:
jobs:
test:
strategy:
matrix:
python-version: [3.9]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install -r requirements.txt
pip list
- name: Check for vulnerabilities in libraries
run: |
pip install safety
pip freeze | safety check
publish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Extract tag name
shell: bash
run: echo "##[set-output name=imagetag;]$(echo ${GITHUB_REF##*/})"
id: extract_tag_name
- name: Build Covid19-Mesa Image
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: ncsa/covid19-mesa:${{ steps.extract_tag_name.outputs.imagetag }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tag: "${GITHUB_REF##*/}"