Skip to content

Commit ee853cb

Browse files
committed
testing new ci
Signed-off-by: Doug Davis <duglin@gmail.com>
1 parent 42c7d4c commit ee853cb

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
- master
66

77
env:
8-
IMAGE: ghcr.io/xregistry/server/xreg-server
8+
OLD_IMAGE: ghcr.io/$GIT_ORG/xreg-server
99

1010
jobs:
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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

1818
To build and run it locally:

misc/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
name: xreg-server
77
spec:
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" ]

0 commit comments

Comments
 (0)