File tree Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change 99env :
1010 PROJECT_ID : steampipe
1111 IMAGE_NAME : fdw
12- CORE_REPO : us-docker.pkg.dev/steampipe /steampipe
12+ CORE_REPO : ghcr.io/turbot /steampipe
1313 ORG : turbot
1414 CONFIG_SCHEMA_VERSION : " 2020-11-18"
1515 VERSION : ${{ github.event.inputs.release }}
@@ -45,22 +45,13 @@ jobs:
4545 exit 1
4646 fi
4747
48- - name : Authenticate GCloud
49- uses : google-github-actions/auth@v2
48+ # Login to GHCR
49+ - name : Log in to the Container registry
50+ uses : docker/login-action@v2
5051 with :
51- credentials_json : ${{ secrets.STEAMPIPE_REGISTRY_SA_KEY }}
52-
53- - name : Configure GCloud CLI project
54- uses : ' google-github-actions/setup-gcloud@v2'
55- with :
56- project_id : ${{ env.PROJECT_ID }}
57-
58- - name : Setup GCloud CLI
59- run : |-
60- gcloud config list
61- gcloud components install beta
62- gcloud components install alpha --quiet
63- gcloud beta auth configure-docker us-docker.pkg.dev
52+ registry : ghcr.io
53+ username : ${{ github.repository_owner }}
54+ password : ${{ secrets.GH_PUBLISH_ACCESS_TOKEN }}
6455
6556 - name : Verify ORAS installations
6657 run : oras version
9687 echo $JSON_STRING > annotations.json
9788 cat annotations.json
9889
90+ # Push to GHCR
9991 - name : Push to registry
10092 run : |-
10193 REF="$CORE_REPO/$IMAGE_NAME:$VERSION"
You can’t perform that action at this time.
0 commit comments