Skip to content

Commit

Permalink
Update test-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes authored Nov 13, 2024
1 parent 52adcab commit 57e0d9e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
permissions: write-all
steps:
- uses: actions/checkout@v3
with:
ref: test

- name: Login to GitHub Container Registry
if: github.repository == 'nmfs-opensci/py-rocket-base'
uses: docker/login-action@v1
Expand All @@ -20,7 +23,7 @@ jobs:
- name: Build the Docker image
if: github.repository == 'nmfs-opensci/py-rocket-base'
run: |
docker build images/coastwatch -f images/coastwatch/Dockerfile --tag ghcr.io/nmfs-opensci/container-images/coastwatch:latest
docker build . -f Dockerfile --tag ghcr.io/nmfs-opensci/py-rocket-base/test:latest
- name: Publish
if: github.repository == 'nmfs-opensci/py-rocket-base'
run: |
Expand Down

0 comments on commit 57e0d9e

Please sign in to comment.