File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 5
5
- ' *'
6
6
7
7
env :
8
- REGISTRY : ${{ vars.GCR_PREFIX }}
8
+ REGISTRY : ghcr.io
9
9
IMAGE_NAME : ${{ github.repository }}
10
10
11
11
jobs :
44
44
- name : Set up Docker Buildx
45
45
uses : docker/setup-buildx-action@v3
46
46
47
+ - name : Login to GHCR
48
+ uses : docker/login-action@v3
49
+ with :
50
+ registry : ${{ env.REGISTRY }}
51
+ username : ${{ github.actor }}
52
+ password : ${{ secrets.GITHUB_TOKEN }}
47
53
48
54
- name : Build and export to local docker for testing
49
55
uses : docker/build-push-action@v6
@@ -58,16 +64,10 @@ jobs:
58
64
run : |
59
65
bash postgres-appliance/tests/test_spilo.sh
60
66
61
- - name : Authenticate to Google Cloud
62
- uses : google-github-actions/auth@v1
63
- with :
64
- credentials_json : ' ${{ secrets.GCR_CREDENTIALS }}'
65
- - run : gcloud auth configure-docker -q gcr.io
66
-
67
67
- name : Build arm64 additionaly and push multiarch image to ghcr
68
68
uses : docker/build-push-action@v6
69
69
with :
70
70
context : " postgres-appliance/"
71
71
push : true
72
72
tags : " ${{ steps.image.outputs.NAME }}"
73
- platforms : linux/amd64,linux/arm64
73
+ platforms : linux/amd64
You can’t perform that action at this time.
0 commit comments