Skip to content

Commit

Permalink
Merge pull request #55 from jburel/update_pushTodockerhub
Browse files Browse the repository at this point in the history
Clean up
  • Loading branch information
dgault authored Feb 8, 2024
2 parents d4634a4 + 9626c8b commit dea5e4f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,17 @@ jobs:
env:
name: openmicroscopy/bio-formats-octave
steps:
- name: Get prefix
id: getprefix
run: |
if [ ! -z ${{ env.name }} ]; then
echo "prefix=${{ env.name }}:" >> $GITHUB_OUTPUT
else
echo "prefix=${{ github.repository }}:" >> $GITHUB_OUTPUT
fi
- name: Get other tags
id: gettags
uses: jupyterhub/action-major-minor-tag-calculator@v1.1.0
uses: jupyterhub/action-major-minor-tag-calculator@v3
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
prefix: "${{ steps.getprefix.outputs.prefix }}"
prefix: "${{ env.name }}:"
- name: Docker metadata
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.name }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
Expand All @@ -58,4 +55,5 @@ jobs:
uses: docker/build-push-action@v2
with:
tags: ${{ join(fromJson(steps.gettags.outputs.tags)) }}
push: true
labels: ${{ steps.meta.outputs.labels }}
push: true
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Bio-Formats Octave
==================

[![Docker build](https://img.shields.io/docker/build/openmicroscopy/bio-formats-octave.svg)](https://hub.docker.com/r/openmicroscopy/bio-formats-octave)

[![Actions Status](https://github.com/ome/bio-formats-octave-docker/workflows/Build/badge.svg)](https://github.com/ome/bio-formats-octave-docker/actions)

Expand Down

0 comments on commit dea5e4f

Please sign in to comment.