Skip to content

[Snyk] Security upgrade python from 3.10-slim to 3.13.0a6-slim #59

[Snyk] Security upgrade python from 3.10-slim to 3.13.0a6-slim

[Snyk] Security upgrade python from 3.10-slim to 3.13.0a6-slim #59

Workflow file for this run

name: Build and publish Docker image
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build_and_push_to_registry:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up QEMU
uses: docker/[email protected]
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Login to DockerHub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/[email protected]
with:
push: true
tags: jgbustos/ml-rest-fastapi:latest
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}