Skip to content

ci/cd: update dockerfile from Python 3.12.5 to 3.12.7 #908

ci/cd: update dockerfile from Python 3.12.5 to 3.12.7

ci/cd: update dockerfile from Python 3.12.5 to 3.12.7 #908

Workflow file for this run

name: publish
on:
push:
branches:
- develop
- master
- '**'
tags:
- v[0-9]+.[0-9]+.[0-9]+
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: azure/docker-login@v1
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v4
- name: Build Docker image
run: docker build --tag ${{ github.repository }}:${{ env.GITHUB_REF_SLUG }} .
- name: Publish to DockerHub
run: docker push ${{ github.repository }}:${{ env.GITHUB_REF_SLUG }}