Skip to content

Commit ed9fc45

Browse files
update CI for packages
1 parent f1ea3b3 commit ed9fc45

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/build-base-image.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,20 @@ jobs:
3131
username: ${{ secrets.DOCKERHUB_USERNAME }}
3232
password: ${{ secrets.DOCKERHUB_TOKEN }}
3333

34+
- name: Log in to GitHub Container Registry
35+
uses: docker/login-action@v3
36+
with:
37+
registry: ghcr.io
38+
username: ${{ github.actor }}
39+
password: ${{ secrets.GITHUB_TOKEN }}
40+
3441
- name: Build and push base image
3542
uses: docker/build-push-action@v6
3643
with:
3744
context: .
3845
file: .github/Dockerfile.base
3946
push: true
40-
tags: bdrabczuk/neurospin:champollion-base
47+
tags: |
48+
bdrabczuk/champollion-base:latest
49+
ghcr.io/bdrabczuk/champollion-base:latest
50+

0 commit comments

Comments
 (0)