Skip to content

CI: Update cibuildwheel to 2.20.0 #40

CI: Update cibuildwheel to 2.20.0

CI: Update cibuildwheel to 2.20.0 #40

Workflow file for this run

name: Publish Docker image
on:
push:
workflow_dispatch:
jobs:
publish_image:
name: Publish Docker image
runs-on: ubuntu-latest
if: github.repository == 'isciences/exactextract'
permissions:
packages: write
contents: read
attestations: write
steps:
- uses: actions/checkout@v4
- uses: docker/metadata-action@v5
id: meta
with:
images: isciences/exactextract
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}