Skip to content

chore(deps): update python docker tag to v3.13 #24

chore(deps): update python docker tag to v3.13

chore(deps): update python docker tag to v3.13 #24

---
name: Build python base container image
"on":
workflow_dispatch:
push:
paths:
- .github/workflows/build-python-base-container-image.yml
- environments/python/base/**
branches:
- main
pull_request:
paths:
- .github/workflows/build-python-base-container-image.yml
- environments/python/base/**
jobs:
build-python-base-container-image:
runs-on: ubuntu-latest
strategy:
matrix:
version:
- "3.10"
- "3.11"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup docker
uses: docker/setup-buildx-action@v2
- name: Login to container registry
uses: docker/login-action@v2
with:
registry: ${{ secrets.DOCKER_REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
if: github.ref == 'refs/heads/main'
- name: Build container image
run: scripts/build.sh
env:
DOCKER_REGISTRY: ${{ secrets.DOCKER_REGISTRY }}
IMAGE: python/base
REPOSITORY: thecloudsphere/python/base
VERSION: ${{ matrix.version }}
- name: Push container image
run: |
scripts/push.sh
env:
DOCKER_REGISTRY: ${{ secrets.DOCKER_REGISTRY }}
IMAGE: python/base
REPOSITORY: thecloudsphere/python/base
VERSION: ${{ matrix.version }}
if: |
github.repository == 'thecloudsphere/registry' &&
github.ref == 'refs/heads/main'