Skip to content

Bump markdown-it-py from 0.5.8 to 2.2.0 #347

Bump markdown-it-py from 0.5.8 to 2.2.0

Bump markdown-it-py from 0.5.8 to 2.2.0 #347

Workflow file for this run

on:
pull_request:
branches:
- main
push:
branches:
- "**"
env:
containerRegistry: spinshot.azurecr.io
imageRepository: cyberbattle
tag: ${{ github.sha }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
docker build . -t ${{ env.containerRegistry }}/${{ env.imageRepository }}:${{ env.tag }}
- name: Login to ACR
uses: docker/login-action@v1
with:
registry: ${{ env.containerRegistry }}
username: ${{ secrets.ACR_TOKEN_NAME }}
password: ${{ secrets.ACR_TOKEN_PASSWORD }}
if: github.ref_name == 'main'
- run: |
docker push ${{ env.containerRegistry }}/${{ env.imageRepository }}:${{ env.tag }}
if: github.ref_name == 'main'