Skip to content

Commit

Permalink
Publish docker images to GitHub container registry
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed Sep 3, 2024
1 parent 4ee0638 commit c98ec75
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ jobs:
with:
images: |
briansimulator/brian
ghcr.io/brian-team/brian
flavor: latest=true
tags: |
# type=semver,pattern={{raw}}
Expand All @@ -205,6 +206,13 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
if: ${{ github.repository == 'brian-team/brian2' && github.actor != 'dependabot[bot]'}}
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: load Linux x86 distribution 📦
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit c98ec75

Please sign in to comment.