File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 99 push :
1010
1111env :
12- # Use docker .io for Docker Hub if empty
13- REGISTRY : docker.io
12+ REGISTRY : ghcr .io
13+ IMAGE_NAME : accel-sim/accel-sim-framework
1414
1515
1616jobs :
@@ -22,17 +22,18 @@ jobs:
2222 - name : Check out the repo
2323 uses : actions/checkout@v4
2424
25- - name : Log in to Docker Hub
26- uses : docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
25+ - name : Log in to the Container registry
26+ uses : docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
2727 with :
28- username : ${{ secrets.DOCKERHUB_USER }}
29- password : ${{ secrets.DOCKERHUB_TOKEN }}
28+ registry : ${{ env.REGISTRY }}
29+ username : ${{ github.actor }}
30+ password : ${{ secrets.GITHUB_TOKEN }}
3031
3132 - name : Extract metadata (tags, labels) for Docker
3233 id : meta
3334 uses : docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
3435 with :
35- images : tgrogers/accel-sim_regress
36+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3637
3738 - name : Build and push Docker image
3839 uses : docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
You can’t perform that action at this time.
0 commit comments