File tree Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ jobs:
3434
3535 - name : Build replicated image from Dockerfile
3636 run : |
37- docker build --pull -t replicated/replicated:${{ github.sha }} .
37+ docker build --pull -t replicated/replicated-sdk :${{ github.sha }} .
3838
3939 - name : Run Trivy vulnerability scanner
4040 uses : aquasecurity/trivy-action@master
4141 with :
42- image-ref : ' replicated/replicated:${{ github.sha }}'
42+ image-ref : ' replicated/replicated-sdk :${{ github.sha }}'
4343 format : ' sarif'
4444 output : ' trivy-results.sarif'
4545 ignore-unfixed : true
Original file line number Diff line number Diff line change @@ -102,19 +102,24 @@ jobs:
102102 username : ${{github.actor}}
103103 password : ${{secrets.GITHUB_TOKEN}}
104104
105+ - uses : azure/docker-login@v1
106+ with :
107+ username : ${{ secrets.DOCKERHUB_USER }}
108+ password : ${{ secrets.DOCKERHUB_PASSWORD }}
109+
105110 - name : Run Package and Publish
106111 env :
107112 REPLICATED_TAG : v${{needs.get-tags.outputs.tag}}
108- REPLICATED_REGISTRY : ghcr.io/replicatedhq # TODO: move to docker.io
113+ REPLICATED_REGISTRY : replicated # docker.io/replicated
109114 REPLICATED_CHART_NAME : replicated
110115 REPLICATED_CHART_VERSION : ${{needs.get-tags.outputs.tag}}
111116 REPLICATED_USER_STAGING : ${{secrets.REPLICATED_USER_STAGING}}
112117 REPLICATED_PASS_STAGING : ${{secrets.REPLICATED_PASS_STAGING}}
113118 REPLICATED_USER_PROD : ${{secrets.REPLICATED_USER_PROD}}
114119 REPLICATED_PASS_PROD : ${{secrets.REPLICATED_PASS_PROD}}
115120 run : |
116- docker build --pull -t "$REPLICATED_REGISTRY/replicated:$REPLICATED_TAG" --build-arg git_tag=${{needs.get-tags.outputs.tag}} .
117- docker push "$REPLICATED_REGISTRY/replicated:$REPLICATED_TAG"
121+ docker build --pull -t "$REPLICATED_REGISTRY/replicated-sdk :$REPLICATED_TAG" --build-arg git_tag=${{needs.get-tags.outputs.tag}} .
122+ docker push "$REPLICATED_REGISTRY/replicated-sdk :$REPLICATED_TAG"
118123
119124 # TEMPORARY: for backwards compatibility, create another directory to use for the "replicated-sdk" chart
120125 cp -R chart chart-sdk
Original file line number Diff line number Diff line change 5858
5959.PHONY : build-ttl.sh
6060build-ttl.sh :
61- docker build -t ttl.sh/${USER} /replicated:24h .
62- docker push ttl.sh/${USER} /replicated:24h
61+ docker build -t ttl.sh/${USER} /replicated-sdk :24h .
62+ docker push ttl.sh/${USER} /replicated-sdk :24h
6363
6464 make -C chart build-ttl.sh
6565
Original file line number Diff line number Diff line change 33# Declare variables to be passed into your templates.
44
55images:
6- replicated: ${REPLICATED_REGISTRY}/replicated:${REPLICATED_TAG}
6+ replicated: ${REPLICATED_REGISTRY}/replicated-sdk :${REPLICATED_TAG}
77
88license: ""
99licenseFields: ""
You can’t perform that action at this time.
0 commit comments