Bump python from 3.13.1-alpine to 3.13.2-alpine in /client #90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "build-client" | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "main" | |
- "master" | |
paths: | |
- "client/**" | |
pull_request: | |
branches: | |
- "main" | |
- "master" | |
paths: | |
- "client/Dockerfile*" | |
- "client/requirements.txt" | |
jobs: | |
docker_buildx_debian: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Perform setup steps | |
uses: JonasAlfredsson/checkout-qemu-buildx@v2 | |
with: | |
should_login: ${{ github.event_name != 'pull_request' }} | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Extract version numbers from requirements.txt | |
id: tagger | |
run: bash .github/version_extractor.sh client/requirements.txt client | |
- name: Build and push latest Debian image | |
uses: docker/[email protected] | |
with: | |
context: ./client | |
file: ./client/Dockerfile | |
platforms: | | |
linux/amd64 | |
linux/386 | |
linux/arm64 | |
linux/arm/v7 | |
push: ${{ github.event_name != 'pull_request' }} | |
tags: | | |
jonasal/devpi-client:latest | |
jonasal/devpi-client:${{ steps.tagger.outputs.APP_MAJOR }} | |
jonasal/devpi-client:${{ steps.tagger.outputs.APP_MINOR }} | |
jonasal/devpi-client:${{ steps.tagger.outputs.APP_PATCH }} | |
docker_buildx_alpine: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Perform setup steps | |
uses: JonasAlfredsson/checkout-qemu-buildx@v2 | |
with: | |
should_login: ${{ github.event_name != 'pull_request' }} | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Extract version numbers from requirements.txt | |
id: tagger | |
run: bash .github/version_extractor.sh client/requirements.txt client | |
- name: Build and push latest Alpine image | |
uses: docker/[email protected] | |
with: | |
context: ./client | |
file: ./client/Dockerfile-alpine | |
platforms: | | |
linux/amd64 | |
linux/386 | |
linux/arm64 | |
linux/arm/v7 | |
push: ${{ github.event_name != 'pull_request' }} | |
tags: | | |
jonasal/devpi-client:latest-alpine | |
jonasal/devpi-client:${{ steps.tagger.outputs.APP_MAJOR }}-alpine | |
jonasal/devpi-client:${{ steps.tagger.outputs.APP_MINOR }}-alpine | |
jonasal/devpi-client:${{ steps.tagger.outputs.APP_PATCH }}-alpine |