File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 5
5
branches : [develop]
6
6
pull_request :
7
7
branches : [develop]
8
-
8
+ env :
9
+ REGISTRY : ghcr.io
10
+ IMAGE_NAME : twsearle/orca-jedi/ci-almalinux9:latest
9
11
jobs :
10
12
build :
11
13
runs-on : ubuntu-latest
@@ -60,17 +62,17 @@ jobs:
60
62
- name : Log in to GitHub Container Registry
61
63
uses : docker/login-action@v3
62
64
with :
63
- registry : ghcr.io
64
- username : ${{ github.actor}}
65
- password : ${{ secrets.GH_PAT }}
65
+ registry : ${{ env.REGISTRY }}
66
+ username : ${{ github.actor }}
67
+ password : ${{ secrets.GITHUB_TOKEN }}
66
68
67
69
- name : Pull Docker image
68
- run : docker pull ghcr.io /${{ github.actor }}/orca-jedi/ci-almalinux9:develop
70
+ run : docker pull ${{ env.REGISTRY }} /${{ env.IMAGE_NAME }}
69
71
70
72
- name : build and test
71
73
run : |
72
74
docker run --rm \
73
75
--entrypoint=/usr/local/src/orca-jedi/ci/build-and-test.sh \
74
76
--workdir=/usr/local/src/orca-jedi/ci \
75
77
--volume $PWD:/usr/local/src/orca-jedi \
76
- ghcr.io /${{ github.actor }}/orca-jedi/ci-almalinux9:develop
78
+ ${{ env.REGISTRY }} /${{ env.IMAGE_NAME }}
You can’t perform that action at this time.
0 commit comments