Skip to content

Commit

Permalink
Update image-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaker6 authored Dec 24, 2022
1 parent b34eaa1 commit c93b253
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/image-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: image-release

on:
release:
types: [ published ]
push:
tags: [ '*.*.*' ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -26,9 +26,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Get release version
run: echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into dockerhub
Expand All @@ -55,7 +52,7 @@ jobs:
context: ./
platforms: linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64/v8
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ env.TAG }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

singularity:
Expand Down

0 comments on commit c93b253

Please sign in to comment.