Skip to content

Bump jinja2 from 3.1.4 to 3.1.5 #29

Bump jinja2 from 3.1.4 to 3.1.5

Bump jinja2 from 3.1.4 to 3.1.5 #29

Workflow file for this run

name: Build and Push Container
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to github container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and tag latest docker image
run: |
docker build -f Dockerfile -t ghcr.io/${{ github.repository_owner }}/nuts:$GITHUB_SHA .
- name: Tag versioned image
run: docker tag ghcr.io/${{ github.repository_owner }}/nuts:$GITHUB_SHA ghcr.io/${{ github.repository_owner }}/nuts:latest
- name: Push the images
run: |
docker push ghcr.io/${{ github.repository_owner }}/nuts:latest
docker push ghcr.io/${{ github.repository_owner }}/nuts:$GITHUB_SHA