diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 2b3fec8..ea740bf 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -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 @@ -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: |