Bump jinja2 from 3.1.3 to 3.1.4 (#131) #380
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |