Skip to content

Commit

Permalink
Updates to pushing images
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLoecker committed Mar 2, 2023
1 parent f080768 commit e6f745f
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ jobs:
with:
ref: ${{ github.GITHUB_REF }}

# Log into the GitHub Container Registry so we can push the image
- name: Log in to Container Registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# Get tag/release information for docker tags
- name: Docker Metadata
id: metadata
Expand Down Expand Up @@ -68,6 +60,15 @@ jobs:
- name: Assert no outputs present in jupyter notebook
uses: ResearchSoftwareActions/[email protected]


# Log into the GitHub Container Registry so we can push the image
- name: Log in to Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v4
with:
Expand Down

0 comments on commit e6f745f

Please sign in to comment.