File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 - master
66
77env :
8- IMAGE : ghcr.io/xregistry/server /xreg-server
8+ OLD_IMAGE : ghcr.io/$GIT_ORG /xreg-server
99
1010jobs :
1111 build_test_push :
@@ -14,12 +14,18 @@ jobs:
1414 steps :
1515 - uses : actions/checkout@v2
1616
17+ - name : Set IMAGE env var (need to be indirect due to user of env var)
18+ run : echo "IMAGE=ghcr.io/${GITHUB_REPOSITORY%/*}/xreg-server" >> $GITHUB_ENV
19+
20+ - name : Echo env vars for debugging
21+ run : env | sort
22+
1723 - name : ghcr.io login
1824 uses : docker/login-action@v3
1925 with :
2026 registry : ghcr.io
21- username : ${{ github.repository_owner }}
22- password : ${{ secrets.GHCR_TOKEN }}
27+ username : ${{ github.actor }}
28+ password : ${{ secrets.GITHUB_TOKEN }}
2329
2430 - name : build, test, push
2531 run : make mysql test push
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ To run the official image:
1212```
1313# You need to have Docker installed
1414
15- docker run -ti -p 8080:8080 ghcr.io/xregistry/server/ xreg-server-all
15+ docker run -ti -p 8080:8080 ghcr.io/xregistry/xreg-server-all
1616```
1717
1818To build and run it locally:
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ metadata:
66 name : xreg-server
77spec :
88 containers :
9- - image : ghcr.io/xregistry/server/ xreg-server
9+ - image : ghcr.io/xregistry/xreg-server
1010 imagePullPolicy : Never
1111 name : xreg-server
1212 command : [ "/server" ]
You can’t perform that action at this time.
0 commit comments