Skip to content

Commit

Permalink
use tag in yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes committed Jun 1, 2024
1 parent 95b60e9 commit 26577e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker-image-vast.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Docker Image CI vast
env:
IMAGE_NAME: vast
IMAGE_TAG: latest
IMAGE_TAG: 4.3.3-3.10

on:
workflow_dispatch: null
Expand All @@ -26,9 +26,10 @@ jobs:
- name: Build the Docker image
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker build images/$IMAGE_NAME -f images/$IMAGE_NAME/Dockerfile --tag ghcr.io/nmfs-opensci/container-images/$IMAGE_NAME:$IMAGE_TAG
docker build images/$IMAGE_NAME -f images/$IMAGE_NAME/Dockerfile --tag ghcr.io/nmfs-opensci/container-images/$IMAGE_NAME:$IMAGE_TAG --tag ghcr.io/nmfs-opensci/container-images/$IMAGE_NAME:latest
- name: Publish
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker push ghcr.io/nmfs-opensci/container-images/$IMAGE_NAME:$IMAGE_TAG
docker push ghcr.io/nmfs-opensci/container-images/$IMAGE_NAME:latest

0 comments on commit 26577e5

Please sign in to comment.