File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 66 tags :
77 - v**
88
9+ env :
10+ REPOSITORY_OWNER : ${{ github.repository_owner }}
11+ GHCR_REGISTRY : " ghcr.io"
12+ GHCR_REGISTRY_USERNAME : ${{ github.actor }}
13+ GHCR_REGISTRY_TOKEN : ${{ secrets.GITHUB_TOKEN }}
14+
15+
16+
917jobs :
1018 sdk-test-docker :
1119 if : github.repository_owner == 'restatedev'
@@ -43,10 +51,17 @@ jobs:
4351 - name : Setup Gradle
4452 uses : gradle/actions/setup-gradle@v3
4553
54+ - name : Log into GitHub container registry
55+ uses : docker/login-action@v2
56+ with :
57+ registry : ${{ env.GHCR_REGISTRY }}
58+ username : ${{ env.GHCR_REGISTRY_USERNAME }}
59+ password : ${{ env.GHCR_REGISTRY_TOKEN }}
60+
4661 - name : Build restatedev/java-test-services image
4762 run : ./gradlew -Djib.console=plain :test-services:jibDockerBuild
4863
49- - name : Push image
64+ - name : Push restatedev/test-services-java:main image
5065 run : |
5166 docker tag restatedev/java-test-services ghcr.io/restatedev/test-services-java:main
5267 docker push ghcr.io/restatedev/test-services-java:main
You can’t perform that action at this time.
0 commit comments