Skip to content

chore(deps): update dependency python to 3.13 - autoclosed #484

chore(deps): update dependency python to 3.13 - autoclosed

chore(deps): update dependency python to 3.13 - autoclosed #484

---
name: build-container-images
on:
workflow_dispatch:
pull_request:
paths:
- "containers/python311_alpine/**"
- "containers/python312_alpine/**"
push:
branches:
- main
paths:
- "containers/python311_alpine/**"
- "containers/python312_alpine/**"
merge_group:
types: [checks_requested]
# bump container versions here, they will be populated to tags and labels
env:
VERSION_PYTHON311: 0.0.1
VERSION_PYTHON312: 0.0.1
jobs:
build-ghcr-registry:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3
- name: Login to ghcr.io
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
with:
registry: "ghcr.io"
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and deploy Python 3.11 image
uses: docker/build-push-action@14487ce63c7a62a4a324b0bfb37086795e31c6c1 # v6
with:
context: containers/python311_alpine/
file: containers/python311_alpine/Dockerfile.python311_alpine
# push for all main branch commits
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/${{ github.repository }}/argo-python3.11.8-alpine3.19:latest,ghcr.io/${{ github.repository }}/argo-python3.11.8-alpine3.19:${{ env.VERSION_PYTHON311 }}
labels: |
org.opencontainers.image.version=${{ env.VERSION_PYTHON311 }}
- name: Build and deploy Python 3.12 image
uses: docker/build-push-action@14487ce63c7a62a4a324b0bfb37086795e31c6c1 # v6
with:
context: containers/python312_alpine/
file: containers/python312_alpine/Dockerfile.python312_alpine
# push for all main branch commits
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/${{ github.repository }}/argo-python3.12.2-alpine3.19:latest,ghcr.io/${{ github.repository }}/argo-python3.12.2-alpine3.19:${{ env.VERSION_PYTHON312 }}
labels: |
org.opencontainers.image.version=${{ env.VERSION_PYTHON312 }}