Skip to content

Update kubernetes packages to v0.32.0 #149

Update kubernetes packages to v0.32.0

Update kubernetes packages to v0.32.0 #149

Workflow file for this run

name: Onyxia API CI
on:
push:
branches:
- "**"
paths-ignore:
- 'docs/**'
tags:
- "*"
pull_request:
paths-ignore:
- 'docs/**'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Docker meta
id: docker_meta
uses: crazy-max/[email protected]
with:
images: inseefrlab/gonyxia-api
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
platforms: linux/amd64
file: Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: |
${{ steps.docker_meta.outputs.tags }}
${{ github.ref == 'refs/heads/main' && 'inseefrlab/gonyxia-api:latest' || '' }}
labels: ${{ steps.docker_meta.outputs.labels }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}