Skip to content

release

release #39

Workflow file for this run

name: release
on:
release:
types: [created]
workflow_run:
workflows: ["Formatting", "Tests"]
types:
- completed
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
file: ./Dockerfile
push: false
tags: simonsobs/librarian:${{ github.event.release.tag_name }}